Sha256: c3ac123bd6d7d979ff19c4844e1b35cd43ed3aae86b284316c6f9be26fa623af
Contents?: true
Size: 536 Bytes
Versions: 1
Compression:
Stored size: 536 Bytes
Contents
require 'spec_helper' RSpec.describe Uatu::Configuration do class Klass extend Uatu::Configuration end let(:klass) { Klass } describe '.configure' do let(:public_key) { 'PUBLIC_KEY' } let(:private_key) { 'private_key' } it "should set the public and private key" do klass.configure do |config| config.public_key = public_key config.private_key = private_key end expect(klass.public_key).to eq public_key expect(klass.private_key).to eq private_key end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
uatu-marvel-0.1.0 | spec/uatu/configuration_spec.rb |