Sha256: 8f6bb915111a2ebf30e99431935f98bcbcf25334ef4d19d6ccac0337e41b57c4

Contents?: true

Size: 180 Bytes

Versions: 3

Compression:

Stored size: 180 Bytes

Contents

RSpec.describe TTY::Config, '#new' do
  it "sets settings through initialization" do
    config = TTY::Config.new(foo: "bar")
    expect(config.fetch(:foo)).to eq("bar")
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
tty-config-0.3.2 spec/unit/new_spec.rb
tty-config-0.3.1 spec/unit/new_spec.rb
tty-config-0.3.0 spec/unit/new_spec.rb