Sha256: 2cf08a6ca6e1fd8424470ba089095c05800d2f7385e749adbb7a63b822ba0bc7

Contents?: true

Size: 323 Bytes

Versions: 20

Compression:

Stored size: 323 Bytes

Contents

require 'spec_helper'

describe Storey, "configuration" do
  it "should allow setting of suffix" do
    Storey.suffix = "_hello"
    Storey.suffix.should == "_hello"
  end

  it "should allow setting of excluded_models" do
    Storey.excluded_models = %w(Company)
    Storey.excluded_models.should == %w(Company)
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
storey-2.0.2 spec/storey/configuration_spec.rb
storey-2.0.1 spec/storey/configuration_spec.rb
storey-2.0.0 spec/storey/configuration_spec.rb
storey-1.0.0 spec/storey/configuration_spec.rb
storey-0.6.0 spec/storey/configuration_spec.rb
storey-0.5.2 spec/storey/configuration_spec.rb
storey-0.5.1 spec/storey/configuration_spec.rb
storey-0.5.0 spec/storey/configuration_spec.rb
storey-0.4.2 spec/storey/configuration_spec.rb
storey-0.4.1 spec/storey/configuration_spec.rb
storey-0.4.0 spec/storey/configuration_spec.rb
storey-0.3.6 spec/storey/configuration_spec.rb
storey-0.3.5 spec/storey/configuration_spec.rb
storey-0.3.4 spec/storey/configuration_spec.rb
storey-0.3.3 spec/storey/configuration_spec.rb
storey-0.3.1 spec/storey/configuration_spec.rb
storey-0.3.0 spec/storey/configuration_spec.rb
storey-0.2.0 spec/storey/configuration_spec.rb
storey-0.1.0 spec/storey/configuration_spec.rb
storey-0.0.1 spec/storey/configuration_spec.rb