Hello, Is there any way to test controllers using cucumber. I was doing it with rspec but since cucumber's description is good how can i proceed testing it with cucumber? For e.g. I have a scenario of user creation like Feature: User Scenarios
Scenario: Successfull creation of user Given a new user When the user fill all the mandatory details Then that user should get created And success message should get displayed and email should be sent for activation In step definition: Given /^a new user$/ do end When /^the user fill all the mandatory details$/ do end When /^that user should get created$/ do end Then /^success message should get displayed and email should be sent for activation$/ do end In this how i need to call the users controller and in that create method. Also i searched in the net but didn't found any examples for cucumber testing controllers. Please suggest -- Posted via http://www.ruby-forum.com/. _______________________________________________ rspec-users mailing list rspec-users@rubyforge.org http://rubyforge.org/mailman/listinfo/rspec-users