Sha256: c89e15467e0b1da82cdd613d07ead2aee8bedaa8fcd4d3e966412deee3b9a290

Contents?: true

Size: 257 Bytes

Versions: 4

Compression:

Stored size: 257 Bytes

Contents

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

  it "configure" do
    described_class.configure do |conf|
      conf.use_api = true
    end
    expect(described_class.configuration.use_api).to be true
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
relaton-1.20.0 spec/relaton/config_spec.rb
relaton-1.19.2 spec/relaton/config_spec.rb
relaton-1.19.1 spec/relaton/config_spec.rb
relaton-1.19.0 spec/relaton/config_spec.rb