Sha256: 064e88e10be56c624d57f07049741072dd46848e0cb0a52bbf23a57db96d3f84
Contents?: true
Size: 672 Bytes
Versions: 3
Compression:
Stored size: 672 Bytes
Contents
require 'spec_helper' describe Reshape::Client::Categories do let(:client) do shapeways_client end after(:each) do shapeways_client.reset end it "should list printers in json" do VCR.use_cassette('categories') do response = client.categories response.should be_an_instance_of(Hashie::Mash) response.result.should == 'success' end end it "should return specific printer info in json" do VCR.use_cassette('category') do response = client.category(100) response.should be_an_instance_of(Hashie::Mash) response.result.should == 'success' response.title.should == 'Cases' end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
reshape-0.2 | spec/reshape/client/categories_spec.rb |
reshape-0.1.1 | spec/reshape/client/categories_spec.rb |
reshape-0.1 | spec/reshape/client/categories_spec.rb |