Skip to content

Commit

Permalink
Added steps to get the first feature to pass.
Browse files Browse the repository at this point in the history
  • Loading branch information
baphled committed May 13, 2010
1 parent 67732b6 commit 9e383a1
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions features/step_definitions/lighthouse_integration_steps.rb
@@ -0,0 +1,11 @@
Given /^we are using the account name "([^\"]*)"$/ do |account_name|
Lighthouse.account = account_name
end

Given /^we have an the project number "([^\"]*)"$/ do |project_number|
@project = Lighthouse::Project.find(project_number)
end

When /^we retrieve tickets$/ do
@project.tickets.should_not be_empty
end

0 comments on commit 9e383a1

Please sign in to comment.