Sha256: 3490743bacff800e7637a602db32f33ff525fd9f20f553de297cd722c6d3888c

Contents?: true

Size: 492 Bytes

Versions: 2

Compression:

Stored size: 492 Bytes

Contents

require 'parser_helper'
require 'mws/reports/parsers/report_scheduler'

class ReportSchedulerParserTest < ParserTest
  def setup
    node = fixture('reports/report_scheduler').xpath('//xmlns:ManageReportScheduleResult')
    @scheduler = MWS::Reports::Parsers::ReportScheduler.new(node)
  end

  def test_has_count
    assert_kind_of Integer, @scheduler.count
  end

  def test_has_report_schedule
    assert_kind_of MWS::Reports::Parsers::ReportSchedule, @scheduler.report_schedule
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
peddler-0.6.5 test/mws/reports/parsers/test_report_scheduler.rb
peddler-0.6.4 test/mws/reports/parsers/test_report_scheduler.rb