spec/warden/test/helpers_spec.rb in warden-1.2.5 vs spec/warden/test/helpers_spec.rb in warden-1.2.6
- old
+ new
@@ -83,17 +83,9 @@
}
setup_rack(app).call(env_with_params)
expect($captures).to eq([:run])
end
- it "should return a valid mocked warden" do
- user = "A User"
- login_as user
-
- expect(warden.class).to eq(Warden::Proxy)
- expect(warden.user).to eq(user)
- end
-
describe "#asset_paths" do
it "should default asset_paths to anything asset path regex" do
expect(Warden.asset_paths).to eq([/^\/assets\//] )
end
end