Created
September 22, 2015 13:02
-
-
Save enkessler/18c4837c865c59a287dc to your computer and use it in GitHub Desktop.
Cucumber output bug
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
And(/^do a thing$/) do | |
foo = 'a' | |
puts foo # Should output 'a' | |
foo.upcase! | |
puts foo # Should output 'A' | |
foo = 'b' | |
puts foo # Should output 'b' | |
end |
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
Feature: | |
Scenario: | |
* do a thing |
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
foo = 'a' | |
puts foo # Should output 'a' | |
foo.upcase! | |
puts foo # Should output 'A' | |
foo = 'b' | |
puts foo # Should output 'b' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment