Sha256: 37e2e9e90881b6a6ebd032e649828ee37ff471d5c1ac2338b31284f5ef2cf19e

Contents?: true

Size: 194 Bytes

Versions: 34

Compression:

Stored size: 194 Bytes

Contents

require 'spec_helper'

describe RbtcArbitrage::CLI do
  it "calls trade on new trader" do
    RbtcArbitrage::Trader.any_instance.should_receive(:trade)
    RbtcArbitrage::CLI.new.trade
  end
end

Version data entries

34 entries across 34 versions & 2 rubygems

Version Path
rbtc_arbitrage-2.4.4 spec/cli_spec.rb
rbtc_arbitrage-2.4.3 spec/cli_spec.rb
rbtc_arbitrage-2.4.2 spec/cli_spec.rb
rbtc_arbitrage-2.4.1 spec/cli_spec.rb
rbtc_arbitrage-2.4.0 spec/cli_spec.rb
rbtc_arbitrage-2.3.0 spec/cli_spec.rb
rbtc_arbitrage-2.2.1 spec/cli_spec.rb
rbtc_arbitrage-2.2.0 spec/cli_spec.rb
rbtc_arbitrage-2.1.2 spec/cli_spec.rb
rbtc_arbitrage-2.1.1 spec/cli_spec.rb
rbtc_arbitrage_simple-2.1.1 spec/cli_spec.rb
rbtc_arbitrage_simple-2.1.0 spec/cli_spec.rb
rbtc_arbitrage-2.1.0 spec/cli_spec.rb
rbtc_arbitrage-2.0.2 spec/cli_spec.rb
rbtc_arbitrage_simple-2.0.1 spec/cli_spec.rb
rbtc_arbitrage-2.0.1 spec/cli_spec.rb
rbtc_arbitrage-2.0.0 spec/cli_spec.rb
rbtc_arbitrage-1.4.6 spec/cli_spec.rb
rbtc_arbitrage-1.4.5 spec/cli_spec.rb
rbtc_arbitrage_simple-1.4.4 spec/cli_spec.rb