Created
January 31, 2014 01:42
-
-
Save merkurii/8725165 to your computer and use it in GitHub Desktop.
rspec output
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| rspec spec/importers/importers/clp/electric_gatherer_spec.rb | |
| Failures: | |
| 1) Clp::ElectricGatherer#login behaves like #login logs in with valid credentials | |
| Failure/Error: expect { gatherer.headlessly_login }.to_not raise_error | |
| expected no Exception, got #<NoMethodError: undefined method `stop' for nil:NilClass> with backtrace: | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (3 levels) in <top (required)>' | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (2 levels) in <top (required)>' | |
| Shared Example Group: "#login" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:11 | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (2 levels) in <top (required)>' | |
| 2) Clp::ElectricGatherer#login behaves like #login logs in with invalid credentials raises LoginFailed | |
| Failure/Error: expect { gatherer.headlessly_login }.to raise_error Importers::LoginFailed | |
| expected Importers::LoginFailed, got #<NoMethodError: undefined method `stop' for nil:NilClass> with backtrace: | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (4 levels) in <top (required)>' | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (3 levels) in <top (required)>' | |
| Shared Example Group: "#login" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:11 | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (3 levels) in <top (required)>' | |
| 3) Clp::ElectricGatherer#login when there is delay in login behaves like #login logs in with valid credentials | |
| Failure/Error: expect { gatherer.headlessly_login }.to_not raise_error | |
| expected no Exception, got #<NoMethodError: undefined method `stop' for nil:NilClass> with backtrace: | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (3 levels) in <top (required)>' | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (2 levels) in <top (required)>' | |
| Shared Example Group: "#login" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:17 | |
| # ./spec/importers/importers/shared_importer_examples.rb:3:in `block (2 levels) in <top (required)>' | |
| 4) Clp::ElectricGatherer#login when there is delay in login behaves like #login logs in with invalid credentials raises LoginFailed | |
| Failure/Error: expect { gatherer.headlessly_login }.to raise_error Importers::LoginFailed | |
| expected Importers::LoginFailed, got #<NoMethodError: undefined method `stop' for nil:NilClass> with backtrace: | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (4 levels) in <top (required)>' | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (3 levels) in <top (required)>' | |
| Shared Example Group: "#login" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:17 | |
| # ./spec/importers/importers/shared_importer_examples.rb:11:in `block (3 levels) in <top (required)>' | |
| 5) Clp::ElectricGatherer#account_list behaves like #account_list fetches the account list | |
| Failure/Error: account_list = gatherer.headlessly_get_account_list | |
| NoMethodError: | |
| undefined method `stop' for nil:NilClass | |
| Shared Example Group: "#account_list" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:27 | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:43:in `headlessly_get_account_list' | |
| # ./spec/importers/importers/shared_importer_examples.rb:19:in `block (2 levels) in <top (required)>' | |
| 6) Clp::ElectricGatherer#verify_account behaves like #verify_account verifies an account is valid | |
| Failure/Error: gatherer.headlessly_verify_account(account).should be_true | |
| NoMethodError: | |
| undefined method `stop' for nil:NilClass | |
| Shared Example Group: "#verify_account" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:31 | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:47:in `headlessly_verify_account' | |
| # ./spec/importers/importers/shared_importer_examples.rb:26:in `block (2 levels) in <top (required)>' | |
| 7) Clp::ElectricGatherer#verify_account behaves like #verify_account logs in with invalid credentials raises LoginFailed | |
| Failure/Error: expect { gatherer.headlessly_verify_account(account) }. | |
| expected Importers::LoginFailed, got #<NoMethodError: undefined method `stop' for nil:NilClass> with backtrace: | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:47:in `headlessly_verify_account' | |
| # ./spec/importers/importers/shared_importer_examples.rb:34:in `block (4 levels) in <top (required)>' | |
| # ./spec/importers/importers/shared_importer_examples.rb:34:in `block (3 levels) in <top (required)>' | |
| Shared Example Group: "#verify_account" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:31 | |
| # ./spec/importers/importers/shared_importer_examples.rb:34:in `block (3 levels) in <top (required)>' | |
| 8) Clp::ElectricGatherer#verify_account behaves like #verify_account account does not exist should return false | |
| Failure/Error: gatherer.headlessly_verify_account(account).should be_false | |
| NoMethodError: | |
| undefined method `stop' for nil:NilClass | |
| Shared Example Group: "#verify_account" called from ./spec/importers/importers/clp/electric_gatherer_spec.rb:31 | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:47:in `headlessly_verify_account' | |
| # ./spec/importers/importers/shared_importer_examples.rb:43:in `block (3 levels) in <top (required)>' | |
| 9) Clp::ElectricGatherer#download_data_files returns a list of blobs with pdf and htmls bills | |
| Failure/Error: let(:blobs) { gatherer.headlessly_download_data_files(account, cutoff) } | |
| NoMethodError: | |
| undefined method `stop' for nil:NilClass | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:51:in `headlessly_download_data_files' | |
| # ./spec/importers/importers/clp/electric_gatherer_spec.rb:36:in `block (3 levels) in <top (required)>' | |
| # ./spec/importers/importers/clp/electric_gatherer_spec.rb:42:in `block (3 levels) in <top (required)>' | |
| 10) Clp::ElectricGatherer#download_data_files with cutoff date returns less blobs then w/o cutoff | |
| Failure/Error: let(:blobs) { gatherer.headlessly_download_data_files(account, cutoff) } | |
| NoMethodError: | |
| undefined method `stop' for nil:NilClass | |
| # ./lib/importers/headless_gathering.rb:74:in `ensure in headlessly' | |
| # ./lib/importers/headless_gathering.rb:75:in `headlessly' | |
| # ./lib/importers/headless_gathering.rb:36:in `headlessly_login' | |
| # ./lib/importers/headless_gathering.rb:51:in `headlessly_download_data_files' | |
| # ./spec/importers/importers/clp/electric_gatherer_spec.rb:36:in `block (3 levels) in <top (required)>' | |
| # ./spec/importers/importers/clp/electric_gatherer_spec.rb:59:in `block (4 levels) in <top (required)>' | |
| Finished in 0.49993 seconds | |
| 10 examples, 10 failures | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment