spec/test_subclass.rb in rack-robustness-1.1.0 vs spec/test_subclass.rb in rack-robustness-1.2.0
- old
+ new
@@ -11,10 +11,10 @@
mock_app(Shield)
}
it 'works as expected' do
get '/argument-error'
- last_response.status.should eq(400)
- last_response.body.should eq("an argument error")
+ expect(last_response.status).to eq(400)
+ expect(last_response.body).to eq("an argument error")
end
-end
\ No newline at end of file
+end