Skip to content

Commit

Permalink
Switch raise_error specs over to old should syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
rodjek committed Oct 6, 2019
1 parent 797825b commit 97267a2
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/matchers/raise_error_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -7,12 +7,12 @@
context 'with a failing target' do
subject { lambda { fail 'catalogue load failed' } }

it { is_expected.to raise_error 'catalogue load failed' }
it { should raise_error 'catalogue load failed' }
end

context 'with a passing target' do
subject { lambda { } }

it { is_expected.not_to raise_error }
it { should_not raise_error }
end
end

0 comments on commit 97267a2

Please sign in to comment.