Sha256: 1476ac8867a761e93ba2f7969828bb7ef3ba7bd512ccfa3a53bd221f744ed8e8

Contents?: true

Size: 419 Bytes

Versions: 13

Compression:

Stored size: 419 Bytes

Contents

require 'helper'

describe MtGox do
  describe ".new" do
    it "should return a MtGox::Client" do
      MtGox.new.should be_a MtGox::Client
    end
  end

  describe ".configure" do
    it "should set 'key' and 'secret'" do
      MtGox.configure do |config|
        config.key = "key"
        config.secret = "secret"
      end

      MtGox.key.should == "key"
      MtGox.secret.should == "secret"
    end
  end

end

Version data entries

13 entries across 13 versions & 2 rubygems

Version Path
mtgox-0.9.1 spec/mtgox_spec.rb
mtgox-0.9.0 spec/mtgox_spec.rb
mtgox-0.8.2 spec/mtgox_spec.rb
mtgox-0.8.1 spec/mtgox_spec.rb
mtgox-0.8.0 spec/mtgox_spec.rb
mtgox-0.7.5 spec/mtgox_spec.rb
mtgox-0.7.4 spec/mtgox_spec.rb
mtgox-0.7.3 spec/mtgox_spec.rb
mt_gox-0.7.7 spec/mtgox_spec.rb
mt_gox-0.7.6 spec/mtgox_spec.rb
mt_gox-0.7.5 spec/mtgox_spec.rb
mt_gox-0.7.3 spec/mtgox_spec.rb
mtgox-0.7.2 spec/mtgox_spec.rb