Sha256: 793d097e7e28679e0a2a4408fe0c9544b1e50b371eadbe45b560046194fa1ed6
Contents?: true
Size: 496 Bytes
Versions: 1
Compression:
Stored size: 496 Bytes
Contents
require 'spec_helper' describe :orders do describe "GET /orders.json" do before do @json = read_fixture :orders @response = get :orders end it "should return orders.json fixture" do @response.body.should eq @json end end describe "GET /orders/count.json" do before do @json = read_fixture :count @response = get [:orders, :count] end it "should return count json" do @response.body.should eq @json end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
shopify-mock-0.0.1 | spec/mockify/responses/orders_spec.rb |