spec/controllers/application_controller_spec.rb in chanko-2.0.6 vs spec/controllers/application_controller_spec.rb in chanko-2.0.7
- old
+ new
@@ -6,10 +6,10 @@
head 200
end
end
it "clears cache before each request" do
- Chanko::Loader.cache.should_receive(:clear).exactly(2)
+ expect(Chanko::Loader.cache).to receive(:clear).exactly(2)
get :index
get :index
end
end