Skip to content

Commit

Permalink
rspec time zone is random, but dummy app timezone is utc. ensure that…
Browse files Browse the repository at this point in the history
… event is today.
  • Loading branch information
botandrose-machine committed Mar 1, 2015
1 parent 4de9f3c commit 270b865
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/features/managing_venue_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

feature 'Venue Editing' do
let!(:venue) { create(:venue) }
let!(:event) { create(:event, venue: venue) }
let!(:event) { create(:event, venue: venue, start_time: Time.now.end_of_day - 1.hour) }
let!(:new_venue) { build(:venue) }

scenario 'A user edits an existing venue' do
Expand Down

0 comments on commit 270b865

Please sign in to comment.