Permalink
Browse files

Change spec to use an invalid string due to changes in Virtus coercion

* In Virtus the string "yes" is now coerced to true, causing the spec to fail
  • Loading branch information...
1 parent 564624a commit c0c01908eb5d6b54d97161edda6a5d8b92d59ca4 @dkubb dkubb committed Feb 15, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/semipublic/resource/state/dirty_spec.rb
@@ -68,7 +68,7 @@ class ::Author
context 'with invalid attributes' do
before do
- @resource.coding = 'yes'
+ @resource.coding = 'invalid'
end
it 'should raise InvalidValueError' do

1 comment on commit c0c0190

Contributor

solnic commented on c0c0190 Feb 15, 2012

nice catch! :)

Please sign in to comment.