Sha256: 16023f16714390c0a28d24f863eed32c758a2afba2183d966ce912e3473d7af5

Contents?: true

Size: 430 Bytes

Versions: 7

Compression:

Stored size: 430 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 'name' and 'pass'" do
      MtGox.configure do |config|
        config.name = "username"
        config.pass = "password"
      end

      MtGox.name.should == "username"
      MtGox.pass.should == "password"
    end
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
mtgox-0.5.1 spec/mtgox_spec.rb
mtgox-0.5.0 spec/mtgox_spec.rb
mtgox-0.4.1 spec/mtgox_spec.rb
mtgox-0.4.0 spec/mtgox_spec.rb
mtgox-0.3.1 spec/mtgox_spec.rb
mtgox-0.3.0 spec/mtgox_spec.rb
mtgox-0.2.0 spec/mtgox_spec.rb