Sha256: f54e96b9311c9cd69a8a4bf00ca012880104d945cc4bd0fc380e56931548a09b

Contents?: true

Size: 342 Bytes

Versions: 1

Compression:

Stored size: 342 Bytes

Contents

require_relative "minitest_helper"

describe InstaVIN do
  before do
    InstaVIN.remove_class_variable :@@config if InstaVIN.class_variable_defined? :@@config
  end

  it "should yield a configuration object to block" do
    InstaVIN.configure do |config|
      config.foo = "bar"
    end

    InstaVIN.config.foo.must_equal "bar"
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
instavin-0.0.1 test/instavin_test.rb