Sha256: 0bd60f56d2da16b5082dc5e424049f56268880932049498c0784f61fdfe1fc97

Contents?: true

Size: 347 Bytes

Versions: 3

Compression:

Stored size: 347 Bytes

Contents

require 'helper'


describe '.configure' do
  after do
    Uatu.reset
  end
  
  it "should set the public and private key" do
    Uatu.configure do |config|
      config.public_key = 'PUBLIC_KEY'
      config.private_key = 'PRIVATE_KEY'
    end

    Uatu.public_key.must_equal 'PUBLIC_KEY'
    Uatu.private_key.must_equal 'PRIVATE_KEY'
  end

end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
uatu-marvel-0.0.2 test/uatu/configuration_test.rb
uatu-marvel-0.0.1.1 test/uatu/configuration_test.rb
uatu-marvel-0.0.1 test/uatu/configuration_test.rb