mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-05 16:58:50 +01:00
fix regressions
This commit is contained in:
parent
d732779e14
commit
a8e426a2cd
8 changed files with 24 additions and 16 deletions
|
|
@ -142,7 +142,7 @@ Given /^I have (\d+) completed todos in project "([^"]*)" in context "([^"]*)" w
|
|||
end
|
||||
|
||||
Given(/^I have ([0-9]+) completed todos in context "([^"]*)"$/) do |count, context_name|
|
||||
find_context(context_name)
|
||||
context = find_context(context_name)
|
||||
|
||||
count.to_i.downto 1 do |i|
|
||||
todo = @current_user.todos.create!(:context_id => context.id, :description => "todo #{i}")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue