1
0
Fork 0
mirror of https://github.com/thoughtbot/shoulda-matchers.git synced 2022-11-09 12:01:38 -05:00

Fix multi-line block code style

This commit is contained in:
Gui Albuk 2017-04-23 16:22:11 -03:00 committed by Elliot Winkler
parent 7ed16fe9d2
commit 90c0728cf7

View file

@ -295,9 +295,9 @@ raising a validation exception on failure.
context 'an active_resource model' do
context 'with the validation context' do
it 'does not raise an exception' do
expect {
expect do
expect(active_resource_model).to validate_presence_of(:attr)
}.to_not raise_exception
end.to_not raise_exception
end
end
end