Sha256: fce96323ea943fff22c61f5997baa8f9f53bdfe27fea0b21170aab6b93964825

Contents?: true

Size: 425 Bytes

Versions: 3

Compression:

Stored size: 425 Bytes

Contents

require 'spec_helper'

describe Reshape::Client::Price do
  let(:client) do
    shapeways_client
  end
  
  after(:each) do
    shapeways_client.reset
  end

  it "should list cart orders in json" do
    VCR.use_cassette('price') do
      response = client.price(0.000001, 0.0006, 0, 0.01, 0, 0.01, 0, 0.01)
      response.should be_an_instance_of(Hashie::Mash)
      response.result.should == 'success'
    end
  end 
  
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
reshape-0.2 spec/reshape/client/price_spec.rb
reshape-0.1.1 spec/reshape/client/price_spec.rb
reshape-0.1 spec/reshape/client/price_spec.rb