9 lines
178 B
Ruby
9 lines
178 B
Ruby
require "test_helper"
|
|
|
|
class MyControllerTest < ActionController::TestCase
|
|
test "should get profile without login" do
|
|
get :profile
|
|
assert_response :redirect
|
|
end
|
|
|
|
end
|