mirror of
https://github.com/TracksApp/tracks.git
synced 2026-01-25 10:16:11 +01:00
Refactored tests for improved solubility/grokability.
git-svn-id: http://www.rousette.org.uk/svn/tracks-repos/trunk@615 a4c988fc-2ded-0310-b66e-134b36920a42
This commit is contained in:
parent
b31561736e
commit
e0b63acfab
7 changed files with 129 additions and 133 deletions
|
|
@ -21,7 +21,7 @@ class FeedlistControllerTest < Test::Rails::TestCase
|
|||
end
|
||||
|
||||
def test_get_index_by_logged_in_user
|
||||
@request.session['user_id'] = users(:other_user).id
|
||||
login_as :other_user
|
||||
get :index
|
||||
assert_response :success
|
||||
assert_equal "TRACKS::Feeds", assigns['page_title']
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue