Skip to content

Commit

Permalink
fix rspec failure after update mongoid-rspec 1.7.0
Browse files Browse the repository at this point in the history
  • Loading branch information
shingara committed Apr 7, 2013
1 parent 12ca01c commit 0bbb801
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/models/victory_point_spec.rb
Expand Up @@ -6,7 +6,7 @@
it { should have_field(:other).of_type(Integer) }
it { should have_field(:condition).of_type(String) }

it { should validate_inclusion_of(:condition).to_allow("triple_neighborhood_color") }
it { should validate_inclusion_of(:condition).to_allow(["triple_neighborhood_color"]) }


end

0 comments on commit 0bbb801

Please sign in to comment.