Skip to content

Instantly share code, notes, and snippets.

@MarkPochert
Last active December 11, 2015 11:29
Show Gist options
  • Save MarkPochert/4594375 to your computer and use it in GitHub Desktop.
Save MarkPochert/4594375 to your computer and use it in GitHub Desktop.
require 'minitest/spec'
require "minitest/autorun"
require_relative "./../../lib/mtgox/client"
describe "Client" do
it "Offers" do
c = MtGox::Client.new
c.offers.size.must_equal 2
end
end
~/Dev/Ruby/BB:$ ruby test/models/client_spec.rb
test/models/client_spec.rb:4:in `require': cannot load such file -- /Users/mark/Dev/Ruby/BB/test/lib/mtgox (LoadError)
from test/models/client_spec.rb:4:in `<main>'
|-- Guardfile
|-- bin
|-- lib
| |-- bb.rb
| |-- btce
| `-- mtgox
| |-- ask.rb
| |-- bid.rb
| |-- client.rb **
| |-- connection.rb
| |-- offer.rb
| `-- request.rb
|-- test
| |-- fixtures
| `-- models
| `-- client_spec.rb **
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment