Topic: somethng wrong with test cucumber [solved]
for some reason my test are passing when i dont want them to.
example of a test
Feature: Visitor Page With a list of sites features In order to learn more about On-Call Architect As a perspective customer I want to view company information- Scenario Outline: Visit private pages When I go to a private page <Page>- Then I should see be sent back to the home page Examples: List of private pages | Page | | Location | | Services | | Messages | | Profile |
When /^I go to a private page Location$/ do visit location_path end When /^I go to Home Page$/ do visit root_path end
Last edited by moiseszaragoza (2012-06-13 16:55:58)