Sha256: b74fd2c2d973808d1b714e0f98dbfb5b992e2a247668c7518e3c6e795f1fc2ba

Contents?: true

Size: 449 Bytes

Versions: 2

Compression:

Stored size: 449 Bytes

Contents

require 'spec_helper'

describe Portier::ApplicationPermission do
  describe "#build_permitted_params" do
    pending
  end

  describe "#can?" do
    pending
  end

  describe "#default" do
    it "should be protected by default" do
      permission = Portier::ApplicationPermission.new(double(:app), double(:user)).default
      expect(permission).to be_falsey
    end
  end

  describe "#granted?" do
    pending
  end
end

require 'spec_helper'

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
portier-1.1.1 spec/portier/application_permission_spec.rb
portier-1.1.0 spec/portier/application_permission_spec.rb