diff --git a/features/step_definitions/lighthouse_integration_steps.rb b/features/step_definitions/lighthouse_integration_steps.rb new file mode 100644 index 00000000..c70428a7 --- /dev/null +++ b/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 \ No newline at end of file