spec/spec_helper.rb in acfs-0.25.0.1.b227 vs spec/spec_helper.rb in acfs-0.25.0.1.b228
- old
+ new
@@ -24,13 +24,11 @@
# order dependency and want to debug it, you can fix the order by providing
# the seed, which is printed after each run.
# --seed 1234
config.order = 'random'
- config.expect_with :rspec do |c|
- # Only allow expect syntax
- c.syntax = :expect
- end
+ # Raise error when using old :should expectation syntax.
+ config.raise_errors_for_deprecations!
config.before :each do
Acfs.runner.clear
Acfs::Stub.clear
end