Sha256: bb82444e61e76b2e8835e4ba90abed12b217086110e2a9e54c67a380241ac462

Contents?: true

Size: 269 Bytes

Versions: 1

Compression:

Stored size: 269 Bytes

Contents

require 'spec_helper'

describe Paymo do
  describe '#configure' do
    it 'hands API configuration to the gem' do
      Paymo.configure do |config|
        config.api_key = ENV['PAYMO_API_KEY']
      end
      Paymo.config.api_key.should be_a String
    end
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
paymo-0.0.2 spec/lib/paymo_spec.rb