[rspec-users] Sample App - TDD with Cucumber and RSpec
Pau Cor
lists at ruby-forum.com
Tue Dec 2 03:04:20 EST 2008
Fernando García Samblas wrote:
> IMHO it would be nice to have instead a "context_definitions.rb" with
> common "givens" (similar to navigation_definitions.rb) and there a more
> general definition, like for instance:
...
> Given /^there are no (.*)$/ do |thing|
I really like that. It will make it much more clear since "Given there
are no" will be a very common step.
Paul
--
Posted via http://www.ruby-forum.com/.
More information about the rspec-users
mailing list