Skip to content

Commit

Permalink
Change rspec to raise when using deprecated syntax
Browse files Browse the repository at this point in the history
  • Loading branch information
dkubb committed Dec 15, 2014
1 parent da97b4b commit 387e251
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -24,6 +24,8 @@
end

RSpec.configure do |config|
config.raise_errors_for_deprecations!

config.expect_with :rspec do |expect_with|
expect_with.syntax = :expect
end
Expand Down

0 comments on commit 387e251

Please sign in to comment.