Skip to content

Commit

Permalink
Added step for checking if the resource is saved or not.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed May 14, 2010
1 parent 0689fa9 commit 6376c3f
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions features/step_definitions/lighthouse_integration_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -28,4 +28,8 @@

Then /^I should be sent to the "([^\"]*)" page$/ do |page_title|
response.should contain page_title
end

Then /^the resource information should be saved$/ do
Resource.find_by_name("baphled").should_not be_nil
end

0 comments on commit 6376c3f

Please sign in to comment.