Big refactoring of registration

- Added datatable gem
- Addaed datatable to events, users (#422), registrations
This commit is contained in:
Chrisbr 2014-08-22 15:08:54 +02:00
parent 0f1051d24e
commit d21e19b977
34 changed files with 435 additions and 12988 deletions

View file

@ -35,7 +35,7 @@ feature Event do
click_button 'Create Event'
expect(flash).to eq('Event was successfully submitted. You should register for the conference now.')
expect(current_path).to eq(conference_register_path(conference.short_title))
expect(current_path).to eq(new_conference_conference_registrations_path(conference.short_title))
expect(Event.count).to eq(expected_count)
@ -128,7 +128,7 @@ feature Event do
# Register for conference
find('#register').click
expect(flash).to eq('You are now Registered and will be receiving Email Notifications.')
expect(flash).to eq('You are now registered and will be receiving E-Mail notifications.')
# Withdraw proposal
visit conference_proposal_index_path(conference.short_title)