This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.join(File.dirname(__FILE__), 'test_helper.rb') | |
class AppTest < Test::Unit::TestCase | |
def test_get_root_path | |
current_session.rack_session[:user_id] = "1337" | |
get "/" | |
assert last_response.ok? | |
end | |
end |