Skip to content

Commit

Permalink
fix weird monitorships controller test failure [bborn#67 state:resolved]
Browse files Browse the repository at this point in the history
 Please enter the commit message for your changes. Lines starting
  • Loading branch information
bborn committed Sep 11, 2009
1 parent e8d5a47 commit 5efd1d8
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/functional/monitorships_controller_test.rb
Expand Up @@ -5,8 +5,8 @@ class MonitorshipsControllerTest < ActionController::TestCase
all_fixtures

def test_should_require_login
post :create, :forum_id => forums(:rails).id, :topic_id => topics(:pdi).id, :id => users(:aaron).id, :format => 'js'
assert_js_redirected_to login_path
post :create, :forum_id => forums(:rails).id, :topic_id => topics(:pdi).id, :id => users(:aaron).id
assert_redirected_to login_path
end

def test_should_add_monitorship
Expand Down

0 comments on commit 5efd1d8

Please sign in to comment.