Displaying 1 result from an estimated 1 matches for "56b09c60".
Did you mean:
560960
2011 Sep 04
3
rspec assert inclusion in..
hello,
I would like to assert that an attribute of a model has value among
those in an array. How would I do it in rspec?
Something like this...
describe OptionType do
context "shoulda validations" do
it { assert_contains :type, [''Type1'', ''Type1'']}
end
end