Sha256: 1aed261c70febcbc726607655f67a129ee82279c37ee80b1605e2d74f74e2888

Contents?: true

Size: 261 Bytes

Versions: 7

Compression:

Stored size: 261 Bytes

Contents

describe Relaton do
  after { described_class.instance_variable_set :@configuration, nil }

  it "configure" do
    described_class.configure do |conf|
      conf.logger = :logger
    end
    expect(described_class.configuration.logger).to eq :logger
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
relaton-1.18.2 spec/relaton/config_spec.rb
relaton-1.18.1 spec/relaton/config_spec.rb
relaton-1.18.0 spec/relaton/config_spec.rb
relaton-1.17.2 spec/relaton/config_spec.rb
relaton-1.17.1 spec/relaton/config_spec.rb
relaton-1.17.0 spec/relaton/config_spec.rb
relaton-1.16.1 spec/relaton/config_spec.rb