Sha256: 2fc2ae63dfeb70844910ed42fd49b691fb1036aef99bb0980587a0bdd9cf6ad7

Contents?: true

Size: 258 Bytes

Versions: 2

Compression:

Stored size: 258 Bytes

Contents

require 'spec_helper'

describe Macaco do

  describe '#configure' do
    it 'configures the gem' do
      Macaco.configure do |config|
        config.api_key = 'YOUR_API_KEY'
      end
      Macaco.config.api_key.must_match 'YOUR_API_KEY'
    end
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
macaco-0.0.6 spec/lib/macaco_spec.rb
macaco-0.0.5 spec/lib/macaco_spec.rb