-
-
Save ujjain/5cb02afa3a4030d7c11624590cc45e7e to your computer and use it in GitHub Desktop.
This file contains 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
Then(/^the output should be '(.*)'$/) do |expectedException| | |
expect(@timeout_exception).to eq(expectedException) | |
end | |
And the output should be 'Execution Timeout Error: This deployment has taken too long to run' # features/step_definitions/my_steps.rb:309 | |
expected: "Execution Timeout Error: This deployment has taken too long to run" | |
got: nil | |
(compared using ==) | |
(RSpec::Expectations::ExpectationNotMetError) | |
./features/step_definitions/my_steps.rb:310:in `/^the output should be '(.*)'$/' | |
features/timeout_lengthy_deploys.feature:25:in `And the output should be 'Execution Timeout Error: This deployment has taken too long to run'' | |
Failing Scenarios: | |
cucumber features/timeout_lengthy_deploys.feature:11 # Scenario: Normal deploy that times out because it takes too long |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment