spec/rspec/rails/deprecations_spec.rb in rspec-rails-2.99.0.beta1 vs spec/rspec/rails/deprecations_spec.rb in rspec-rails-2.99.0.beta2
- old
+ new
@@ -8,10 +8,10 @@
include RSpec::Rails::ControllerExampleGroup
end
end
it "is deprecated" do
- RSpec.should_receive(:deprecate)
+ expect(RSpec).to receive(:deprecate)
group.integrate_views
end
end
end
end