This commit is contained in:
Aditya Chatterjee 2016-02-27 17:03:43 +05:30
parent 28e55f3f50
commit a5a2db4077
156 changed files with 3203 additions and 1206 deletions

View file

@ -27,7 +27,7 @@ describe Admin::RegistrationPeriodsController do
end
it 'changes registration period attributes' do
the_date = 10.days.from_now.to_date
the_date = conference.end_date - 10
patch :update, conference_id: conference.short_title, registration_period:
attributes_for(:registration_period, start_date: the_date)