Sha256: 672c636078f955094cbb2a4c282c28f9933f1e98c40a5f33e02ea1c3deccd4b4

Contents?: true

Size: 466 Bytes

Versions: 2

Compression:

Stored size: 466 Bytes

Contents

require 'request_helper'
require 'mws/reports/requests/report_schedule_count'

class ReportScheduleCountRequestTest < RequestTest
  def mock_response_body
    <<-EOF
      <Response xmlns="ns">
        <Result>
          <Count>1</Count>
        </Result>
      </Response>
    EOF
  end

  def setup
    @count = MWS::Reports::Requests::ReportScheduleCount.new(mock_client)
  end

  def test_gets_report_schedule_count
    assert_equal 1, @count.get.to_i
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/reports/requests/test_report_schedule_count.rb
peddler-0.6.4 test/mws/reports/requests/test_report_schedule_count.rb