Skip to content
This repository has been archived by the owner on Mar 6, 2020. It is now read-only.

Commit

Permalink
Fix Failing Test
Browse files Browse the repository at this point in the history
Forgot to run whole test suite, autotest missed a case. Redirect to
tasks_path when creating a new task.
  • Loading branch information
awood45 committed Jun 19, 2014
1 parent 29451a4 commit 627e6b3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/creating_tasks_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
class CreatingTasksTest < ActionDispatch::IntegrationTest
test 'can create a new task' do
post tasks_path, name: "New Task"
assert_redirected_to(root_path)
assert_redirected_to(tasks_path)

tasks = Task.all
assert_equal(1, tasks.size)
Expand Down

0 comments on commit 627e6b3

Please sign in to comment.