Sha256: 103cdaf0e9e2b9677bc721a53182fec3015a942aae877ddb7ede38cb4350b323
Contents?: true
Size: 639 Bytes
Versions: 3
Compression:
Stored size: 639 Bytes
Contents
require "spec_helper" describe Corkboard::AuthorizationsController do describe "GET corkboard/authorizations#index" do context "when the authentication requirement for 'admin' is :disallow!" do it "raises an exception" do with_config(:authentication, { :admin => :disallow! }) do expect { get(:index) } .to raise_error(Corkboard::ActionForbidden) end end end end describe "GET corkboard/authorizations#create" do it "is pending" do pending end end describe "GET corkboard/authorizations#destroy" do it "is pending" do pending end end end
Version data entries
3 entries across 3 versions & 1 rubygems