Skip to content

Commit

Permalink
fixed cukes
Browse files Browse the repository at this point in the history
  • Loading branch information
maser committed Apr 17, 2011
1 parent 695a0d8 commit cc08493
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 0 deletions.
1 change: 1 addition & 0 deletions features/product_owner.feature
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,7 @@ Feature: Product Owner

Background:
Given the ecookbook project has the backlogs plugin enabled
And there are no other projects
And I am a product owner of the project
And the project has the following sprints:
| name | sprint_start_date | effective_date |
Expand Down
6 changes: 6 additions & 0 deletions features/step_definitions/_given_steps.rb
Original file line number Diff line number Diff line change
Expand Up @@ -157,6 +157,12 @@
end
end

Given /^there are no other projects$/ do
Project.all.each do |p|
p.destroy unless p == @project
end
end

Given /^the project has the following stories in the product backlog:$/ do |table|
@project.issues.delete_all
prev_id = ''
Expand Down

0 comments on commit cc08493

Please sign in to comment.