Sha256: 01df7b545d9ee8b0dc12340298ddd5aa5290db8eb5ac2a741ba933800a9cc898

Contents?: true

Size: 243 Bytes

Versions: 3

Compression:

Stored size: 243 Bytes

Contents

require 'spec_helper'

describe Ability do
  context "initialization" do
    it "should cache the permissions loaded" do
      Ability.new Citygate::User.new
      Ability.class_variable_get(:@@permissions).should_not be_nil
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
citygate-0.0.9 spec/dummy/spec/lib/ability_spec.rb
citygate-0.0.8 spec/dummy/spec/lib/ability_spec.rb
citygate-0.0.7 spec/dummy/spec/lib/ability_spec.rb