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:
parent
7ed16fe9d2
commit
90c0728cf7
1 changed files with 2 additions and 2 deletions
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue