lib/restpack_service/support/matchers.rb in restpack_service-0.0.71 vs lib/restpack_service/support/matchers.rb in restpack_service-0.0.72

- old
+ new

@@ -32,11 +32,11 @@ service_request_with(param, value) { |r| r[param].should == expected } end end end -def it_is(status) - it "is :#{status}" do +def it_fails_with(status) + it "fails with :#{status}" do expect(response.success?).to eq(false) expect(response.result).to eq({}) expect(response.status).to eq(:forbidden) end end