created current scope in event_schedule model and conference info link name and path changed

This commit is contained in:
AnithaPal 2016-08-23 10:23:26 -04:00
parent e8d3177ec1
commit e82a3e1727
17 changed files with 53 additions and 65 deletions

View file

@ -33,19 +33,6 @@ FactoryGirl.define do
event.event_schedules << build(:event_schedule, event: event)
end
end
factory :past_event do
after(:build) do |event|
event.start_time = (DateTime.current - 2.days).to_s
event.state = 'confirmed'
end
end
factory :future_event do
after(:build) do |event|
event.start_time = (DateTime.current + 2.days).to_s
event.state = 'confirmed'
end
end
end
end
end