Modify conference registration to a singular resource

This commit is contained in:
Arun Kumar 2016-07-05 00:10:18 +05:30
parent 8b831b1977
commit 0675572e05
No known key found for this signature in database
GPG key ID: 6C40CA6462DEA424
17 changed files with 37 additions and 37 deletions

View file

@ -89,7 +89,7 @@ describe ConferenceRegistrationsController, type: :controller do
end
it 'redirects to registration show path' do
expect(response).to redirect_to conference_conference_registrations_path(conference.short_title)
expect(response).to redirect_to conference_conference_registration_path(conference.short_title)
end
it 'shows success message in flash notice' do
@ -156,7 +156,7 @@ describe ConferenceRegistrationsController, type: :controller do
end
it 'redirects to registration show path' do
expect(response).to redirect_to conference_conference_registrations_path(conference.short_title)
expect(response).to redirect_to conference_conference_registration_path(conference.short_title)
end
it 'shows error in flash message' do