One of the great things about cucumber is it makes it easier to work with non-technical people. You can even get them to write cucumber test for you, even non-techies can deal with plain text files.
So you’ve written your user stories and acceptance tests as a team and converted them into cucumber features and scenarios. [...]
Tagged with ruby
Custom html formatter for cucumber
Ruby Tip: Normalizing Hash Keys as Symbols
Ruby hash keys can be any type of object apart from an integer, but typically they are used in two ways when coding a rails app.
With string keys:
{”a” => “hash”}
Or symbol keys:
{:a => “hash”}
When writing a method that uses a hash of arguments you should handle both styles of hashes. There are a number of [...]