spec/rails/auth/acl/resource_spec.rb in rails-auth-0.5.2 vs spec/rails/auth/acl/resource_spec.rb in rails-auth-0.5.3
- old
+ new
@@ -28,10 +28,10 @@
"path" => example_path
},
{}
)
- expect(resource.http_methods).to eq nil
+ expect(resource.http_methods).to eq Rails::Auth::ACL::Resource::HTTP_METHODS
end
context "errors" do
let(:invalid_method) { "DERP" }