Sha256: 93a88cc82c2338d588b7643f44a6c254b2127d80a474a24972b6c7091e8e25a2
Contents?: true
Size: 632 Bytes
Versions: 3
Compression:
Stored size: 632 Bytes
Contents
require 'spec_helper' describe Reshape::Client::Orders 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('cart') do response = client.cart response.should be_an_instance_of(Hashie::Mash) response.result.should == 'success' end end it "should add an order to the cart in json" do VCR.use_cassette('add_to_cart') do response = client.add_to_cart(212594, 77, 1) 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/orders_spec.rb |
reshape-0.1.1 | spec/reshape/client/orders_spec.rb |
reshape-0.1 | spec/reshape/client/orders_spec.rb |