it would be great if somebody could help me with the cucumber/pickle syntax on creating related objects and assert them.
my step definition Transform /^user \"([^\"]*)\"$/ do | email | Person.find_by_email(email) end Given /^login as (user \"([^\"]*)\")$/ do | user |
No luck in googling on this error message features/manage_hand_evaluator.feature: Parse error at features/manage_hand_evaluator.feature:21. Found examples when expecting one of: comment, py_string, r
Take this scenario. I have a Google Analytics tracking code, and I only want it to show up in Production mode. So I might have two scenarios like this:
When I use the \"Show me the page\" step, with Capybara / Cucumber, can I control where t开发者_JAVA技巧he files get output?I can\'t seem to find the config for this, and my google fu is failing me.
Im a beginner when it comes to TDD and BDD. This is what I know: To use TDD in Rails I use it\'s built-in unit-, functional and integration tests.
With autospec / cucumber / capybara running my feature tests I get this line even after going green: (eval):1:in 开发者_如何学编程`initialize\': can\'t convert String into Integer (TypeError)
I get this warning in step files on every Given, Then, When line: ambiguous first argument; 开发者_运维技巧put parentheses or even spaces
I want to test if I have 0, 1, 2 or 开发者_Go百科3 times a pictures (\'foo.png\') in a certain page with Cucumber.
I\'m hoping someone knows the answer to this, I\'m running Cucumber from IronRuby and getting an IKVM exception.Stack trace is at the bottom.RSpec works fine.