Sha256: 2eab6829e77d3745da6e52e1e2f1cf41fb596dec490fa01df02786c381568103

Contents?: true

Size: 387 Bytes

Versions: 4

Compression:

Stored size: 387 Bytes

Contents

require 'spec_helper'

describe Storey, "configuration" do
  it "should allow setting of suffix" do
    Storey.configuration.suffix = "_hello"
    expect(Storey.configuration.suffix).to eq "_hello"
  end

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

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
storey-2.2.0 spec/storey/configuration_spec.rb
storey-2.1.2 spec/storey/configuration_spec.rb
storey-2.1.1 spec/storey/configuration_spec.rb
storey-2.1.0 spec/storey/configuration_spec.rb