Last active
October 27, 2015 20:54
-
-
Save smcabrera/bd74b2191dd7267d128e to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| scenario 'views event space details with function date as a date' do | |
| booking_request = build( | |
| :booking_request, | |
| event_space_comments: 'I need a lot of room' | |
| ) | |
| lead = create(:lead, | |
| booking_request: booking_request, | |
| event_space_start_date: Date.new(2015, 27, 10) | |
| ) | |
| user = create_user_for_lead(lead) | |
| experience = experience_for(lead, user) | |
| sign_in_as(user) | |
| experience.view_event_space_details | |
| expect(experience).to have_specific_event_space_start_date('Tue, 27 Oct 2015') | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment