Sha256: af757a62711e3f8e87f0c971344525958226bbdec734f1f0fb160c0a3a964ed3

Contents?: true

Size: 388 Bytes

Versions: 4

Compression:

Stored size: 388 Bytes

Contents

require 'spec_helper'

describe Marver::Configuration do
  before :each do
    Marver.configure do |config|
      config.private_key = 'priv123'
      config.public_key  = 'pub123'
    end
  end

  it 'has a private key' do
    expect(Marver.configuration.private_key).to eq 'priv123'
  end

  it 'has a public key' do
    expect(Marver.configuration.public_key).to eq 'pub123'
  end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
marver-0.1.0 spec/marver/configuration_spec.rb
marver-0.0.6 spec/marver/configuration_spec.rb
marver-0.0.5 spec/marver/configuration_spec.rb
marver-0.0.4 spec/marver/configuration_spec.rb