Skip to content

Instantly share code, notes, and snippets.

@enkessler
Created September 22, 2015 13:02
Show Gist options
  • Save enkessler/18c4837c865c59a287dc to your computer and use it in GitHub Desktop.
Save enkessler/18c4837c865c59a287dc to your computer and use it in GitHub Desktop.
Cucumber output bug
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
Feature:
Scenario:
* do a thing
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