@ -45,6 +45,8 @@ class AttachmentsControllerTest < ActionController::TestCase
role.save
}
User.current = nil
@request.session[:ctime] = Time.now.to_i
@request.session[:atime] = Time.now.to_i
end
@ -41,6 +41,8 @@ class CodeReviewControllerTest < ActionController::TestCase
role.permissions << :view_code_review
context "index" do
@ -42,6 +42,8 @@ class CodeReviewSettingsControllerTest < ActionController::TestCase
@ -62,6 +62,8 @@ class IssuesControllerTest < ActionController::TestCase
def test_show
@ -26,6 +26,8 @@ class ProjectsControllerTest < ActionController::TestCase
@controller = ProjectsController.new
@request = ActionController::TestRequest.new
@response = ActionController::TestResponse.new
context "#settings" do
@ -52,6 +52,8 @@ class RepositoriesControllerTest < ActionController::TestCase
role.permissions << :browse_repository
def test_revision