Sha256: 39b8182b6f586dad947a678171813b9d2ce063dbca801c1581b192b3041eaf7b

Contents?: true

Size: 349 Bytes

Versions: 1

Compression:

Stored size: 349 Bytes

Contents

require File.dirname(__FILE__) + '/spec_helper'

describe Credentials::Rulebook do
  it "should duplicate on inheritance" do
    Animal.credentials.should_not == Carnivore.credentials
    Animal.credentials.rules.should_not == Carnivore.credentials.rules
    Animal.credentials.should be_empty
    Carnivore.credentials.should_not be_empty
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
credentials-2.0.0 spec/rulebook_spec.rb