Sha256: 083c836bf3b789b0ed21754bab25f12be8d69c03ae2bfb589e9877d8f1744dcb
Contents?: true
Size: 762 Bytes
Versions: 1
Compression:
Stored size: 762 Bytes
Contents
require 'spec_helper' describe MWS::API::Report do before :all do EphemeralResponse.activate @mws = MWS.new(auth_params) end context "requests" do describe "get_report" do # TODO: Mock Response? end describe "request_report" do it "should request a report" do response = @mws.reports.request_report report_type: '_GET_FLAT_FILE_OPEN_LISTINGS_DATA_', timestamp: timestamp response.should have_key(:request_report_info) end end describe "get_report_request_list" do it "should get a list of report requests" do response = @mws.reports.get_report_request_list timestamp: timestamp response.request_report_info.should be_an_instance_of Array end end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
ruby-mws-0.1 | spec/ruby-mws/api/report_spec.rb |