Skip to content

Commit

Permalink
Patch yet another annoying intermittent failure. [#54]
Browse files Browse the repository at this point in the history
  • Loading branch information
marnen committed Aug 9, 2013
1 parent c505416 commit 732d4d4
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/models/event_spec.rb
Expand Up @@ -270,6 +270,8 @@
describe Event, "(validations)" do
let(:event) { FactoryGirl.build :event }

before(:each) { User.delete_all } # TODO: why do we need this?

it "should not be valid without a state" do
event.should be_valid
event.state_id = nil
Expand Down

0 comments on commit 732d4d4

Please sign in to comment.