Sha256: 6cb033afa3e28ff71f9ab6a18ba6a854c508e2f27a9a937b7fb49cad29386c33

Contents?: true

Size: 242 Bytes

Versions: 8

Compression:

Stored size: 242 Bytes

Contents

require 'spec_helper'

describe Permission do
  describe "#title" do
    it "is the resource, titleized" do
      permission = create :permission, resource: "SomeCoolThing"
      permission.title.should eq "Some Cool Thing"
    end
  end
end

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
outpost-cms-0.1.4 spec/models/permission_spec.rb
outpost-cms-0.1.3 spec/models/permission_spec.rb
outpost-cms-0.1.2 spec/models/permission_spec.rb
outpost-cms-0.1.1 spec/models/permission_spec.rb
outpost-cms-0.1.0 spec/models/permission_spec.rb
outpost-cms-0.0.5 spec/models/permission_spec.rb
outpost-cms-0.0.4 spec/models/permission_spec.rb
outpost-cms-0.0.3 spec/models/permission_spec.rb