From 5fc6e8a86aa815285dbc24bb367b46cb926f2dbf Mon Sep 17 00:00:00 2001 From: Yomi Colledge Date: Thu, 13 May 2010 17:32:11 +0100 Subject: [PATCH] Added step for displaying tickets on the parking page. --- features/step_definitions/lighthouse_integration_steps.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/features/step_definitions/lighthouse_integration_steps.rb b/features/step_definitions/lighthouse_integration_steps.rb index 9888431b..c672da6a 100644 --- a/features/step_definitions/lighthouse_integration_steps.rb +++ b/features/step_definitions/lighthouse_integration_steps.rb @@ -16,4 +16,8 @@ Then /^each of the features should be using the "([^\"]*)" tag$/ do |tag| @lighthouse_tickets.each {|ticket| ticket.tag.should contain 'feature'} +end + +Then /^each feature should be listed on the parking$/ do + @lighthouse_tickets.each {|ticket| response.should contain ticket.title } end \ No newline at end of file