Sha256: 1de45cc17cca53a786523ef6e0f6725759281a7c4f302ed29ed0d33780b72945
Contents?: true
Size: 395 Bytes
Versions: 1
Compression:
Stored size: 395 Bytes
Contents
require 'spec_helper' module Zinc describe Zinc do before(:each) do Zinc.api_key = 'foo' end context "Order object" do it "returns an Order object when a create class method is called" do Zinc::Order.create.class.should == Zinc::Order end it "returns full API url through self.url" do Zinc::Order.url.should == 'https://api.zinc.io/v1/orders' end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
zinc-0.1.0 | spec/order_spec.rb |