Skip to content

Commit

Permalink
Remove RSpec warning about error catching being too broad
Browse files Browse the repository at this point in the history
  • Loading branch information
mattheworiordan committed Mar 29, 2016
1 parent 359ef4e commit 79545fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/unit/saver_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@

expect {
saver.save
}.to raise_error
}.to raise_error(RuntimeError)

expect(Capybara.save_and_open_page_path).to eq('tmp/bananas')
end
Expand Down

0 comments on commit 79545fe

Please sign in to comment.