Created
July 22, 2011 14:25
-
-
Save coryschires/1099543 to your computer and use it in GitHub Desktop.
cuke_error
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
| Background: Analyst logged in and viewing campaigns # features/campaigns.feature:6 | |
| Given campaign "ABC001" has ordered "50_000" and so far billed: # features/step_definitions/custom_steps.rb:25 | |
| | posting period | billable total | billed total | | |
| | Jun 2009 | 10_000 | 10_000 | | |
| | Jul 2009 | 15_000 | 15_000 | | |
| | Aug 2009 | 20_000 | 20_000 | | |
| And campaign "ABC002" has ordered "250_000" and so far billed: # features/step_definitions/custom_steps.rb:25 | |
| | posting period | billable total | billed total | | |
| | Jun 2009 | 100_000 | 100_000 | | |
| | Jul 2009 | 50_000 | 50_000 | | |
| | Aug 2009 | 60_000 | 80_000 | | |
| And campaign "ABC003" has ordered "100_000" and so far billed: # features/step_definitions/custom_steps.rb:25 | |
| | posting period | billable total | billed total | | |
| | Jun 2009 | 30_000 | 30_000 | | |
| | Jul 2009 | 20_000 | 20_000 | | |
| | Aug 2009 | 15_000 | 15_000 | | |
| And I am logged in as a new user with an email of "[email protected]" # features/step_definitions/custom_steps.rb:13 | |
| Real HTTP connections are disabled. Unregistered request: GET http://127.0.0.1:56949/__identify__ with headers {'Accept'=>'*/*'} | |
| You can stub this request with the following snippet: | |
| stub_request(:get, "http://127.0.0.1:56949/__identify__"). | |
| with(:headers => {'Accept'=>'*/*'}). | |
| to_return(:status => 200, :body => "", :headers => {}) | |
| ============================================================ (WebMock::NetConnectNotAllowedError) | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:772:in `get' | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:543:in `start' | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:440:in `start' | |
| ./features/step_definitions/web_steps.rb:49:in `/^(?:|I )go to (.+)$/' | |
| features/campaigns.feature:22:in `And I am logged in as a new user with an email of "[email protected]"' | |
| And I am on the campaigns page # features/step_definitions/web_steps.rb:44 | |
| Real HTTP connections are disabled. Unregistered request: GET http://127.0.0.1:56949/__identify__ with headers {'Accept'=>'*/*'} | |
| You can stub this request with the following snippet: | |
| stub_request(:get, "http://127.0.0.1:56949/__identify__"). | |
| with(:headers => {'Accept'=>'*/*'}). | |
| to_return(:status => 200, :body => "", :headers => {}) | |
| ============================================================ (WebMock::NetConnectNotAllowedError) | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/webmock-1.6.2/lib/webmock/http_lib_adapters/net_http.rb:72:in `request' | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:772:in `get' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/server.rb:47:in `responsive?' | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:543:in `start' | |
| /Users/coryschires/.rvm/rubies/ruby-1.8.7-p302/lib/ruby/1.8/net/http.rb:440:in `start' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/server.rb:47:in `responsive?' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/server.rb:60:in `boot' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/selenium/driver.rb:29:in `initialize' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara.rb:246:in `new' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara.rb:246 | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/session.rb:61:in `call' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/session.rb:61:in `driver' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/session.rb:70:in `reset!' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/dsl.rb:74:in `reset_sessions!' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/dsl.rb:74:in `each' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/dsl.rb:74:in `reset_sessions!' | |
| /Users/coryschires/.rvm/gems/ruby-1.8.7-p302@centro_finance_rails_3/gems/capybara-1.0.0/lib/capybara/cucumber.rb:10:in `After' | |
| @javascript @wip | |
| Scenario: User refreshes campaign after order total has been updated # features/campaigns.feature:34 | |
| Then the "order total" for "ABC001" should be "50_000" # features/step_definitions/custom_steps.rb:48 | |
| When the "order total" for "ABC001" has been updated to "70_000" # features/step_definitions/custom_steps.rb:54 | |
| And I refresh "ABC001" # features/step_definitions/custom_steps.rb:62 | |
| Then I should see the following table rows in any order: # features/step_definitions/table_steps.rb:12 | |
| | Campaign ID | Ordered | Billable | Invoiced | Difference | | |
| | ABC001 | $70,000.00 | $45,000.00 | $45,000.00 | $0.00 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment