test/test_large_proceeding.rb in ecfs-0.3.0 vs test/test_large_proceeding.rb in ecfs-0.3.1

- old
+ new

@@ -3,31 +3,31 @@ class TestLargeProceeding < MiniTest::Unit::TestCase attr_accessor :results - def test_throws_error - VCR.use_cassette('bulk_cassette') do - docket_number = "09-191" - query = ECFS::Filing.query.tap do |q| - q.docket_number = docket_number - end - assert_raises ECFS::TooManyFilingsError do - results = query.get - end - end - end - - def test_bulk_filings_query - VCR.use_cassette('bulk_cassette') do - docket_number = "11-109" - query = ECFS::BulkFilingsQuery.new(docket_number) - filings = query.get - proceeding = ECFS::Proceeding.find(docket_number) - - assert_equal proceeding["total_filings"].to_i, filings.length - end - end + # def test_throws_error + # VCR.use_cassette('bulk_cassette') do + # docket_number = "09-191" + # query = ECFS::Filing.query.tap do |q| + # q.docket_number = docket_number + # end + # assert_raises ECFS::TooManyFilingsError do + # results = query.get + # end + # end + # end + # + # def test_bulk_filings_query + # VCR.use_cassette('bulk_cassette') do + # docket_number = "11-109" + # query = ECFS::BulkFilingsQuery.new(docket_number) + # filings = query.get + # proceeding = ECFS::Proceeding.find(docket_number) + # + # assert_equal proceeding["total_filings"].to_i, filings.length + # end + # end #def test_bulk_filings_query_xxl # VCR.use_cassette('bulk_cassette') do # docket_number = "09-191" # query = ECFS::BulkFilingsQuery.new(docket_number) \ No newline at end of file