Sha256: 2d3659ae367704a18b11af4f6cf724534a1bca794da40a9aab6e0baef48964d4

Contents?: true

Size: 421 Bytes

Versions: 1

Compression:

Stored size: 421 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 |c|
        c.name="username"
        c.pass="password"
      end
      
      MtGox.name.should == "username"
      MtGox.pass.should == "password"
    end
  end
  
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
mtgox-0.1.0 spec/mtgox_spec.rb