Sha256: 97325503cd9b222ac881fe7c9ee4e886482c34fb469641090dc64cde76100473

Contents?: true

Size: 426 Bytes

Versions: 2

Compression:

Stored size: 426 Bytes

Contents

require 'spec_helper'

describe GunBroker do

  it 'has a VERSION' do
    expect(GunBroker::VERSION).to be_a(String)
  end

  context 'dev_key' do
    let(:key) { 'foo' }

    it 'sets @@dev_key' do
      GunBroker.dev_key = key
      expect(GunBroker.class_variable_get(:@@dev_key)).to eq(key)
    end

    it 'returns @@dev_key' do
      GunBroker.dev_key = key
      expect(GunBroker.dev_key).to eq(key)
    end
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
gun_broker-0.2.0 spec/gun_broker_spec.rb
gun_broker-0.1.0 spec/gun_broker_spec.rb