Skip to content

Instantly share code, notes, and snippets.

@krukow
Created September 17, 2012 11:46
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save krukow/3736866 to your computer and use it in GitHub Desktop.
Save krukow/3736866 to your computer and use it in GitHub Desktop.
use transform
Then /^the count must be (#{NUMBER})$/ do |result|
assert_equal @counter.count, result,
"Expected count #{result}, but the counter contained #{@counter.count}"
end
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment