Skip to content

Commit

Permalink
Improving spec
Browse files Browse the repository at this point in the history
  • Loading branch information
lucascaton committed Jun 1, 2016
1 parent 4cfad4c commit 035bafc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/enumerate_it/base_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -288,7 +288,7 @@ class ActiveRecordStub
it "doesn't create a validation for presence" do
expect(ActiveRecordStub).to_not receive(:validates_presence_of)
class ActiveRecordStub
has_enumeration_for :bla, with: TestEnumeration, skip_validation: true
has_enumeration_for :bla, with: TestEnumeration, require: true, skip_validation: true
end
end
end
Expand Down

0 comments on commit 035bafc

Please sign in to comment.