Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
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...
commit c0c01908eb5d6b54d97161edda6a5d8b92d59ca4 1 parent 564624a
@dkubb dkubb authored
Showing with 1 addition and 1 deletion.
  1. +1 −1  spec/semipublic/resource/state/dirty_spec.rb
View
2  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

@solnic
Owner

nice catch! :)

Please sign in to comment.
Something went wrong with that request. Please try again.