spec/acfs/resource/attributes_spec.rb in acfs-1.4.0 vs spec/acfs/resource/attributes_spec.rb in acfs-1.5.0
- old
+ new
@@ -83,14 +83,12 @@
it { should raise_error(ArgumentError, /unknown attribute/i) }
it do
expect do
- begin
- subject.call
- rescue StandardError
- true
- end
+ subject.call
+ rescue StandardError
+ true
end.to_not change(m, :attributes)
end
end
end
end