end
class HelperTest < ActionView::TestCase
-
+ def setup
+ super
+ User.current = nil
+ end
end
class ControllerTest < ActionController::TestCase
end
def setup
+ super
MockEvent.clear
end
def setup
super
set_language_if_valid('en')
- User.current = nil
end
def test_issue_heading
def setup
super
set_language_if_valid('en')
- User.current = nil
end
def test_link_to_version_within_project
include ERB::Util
def setup
+ super
@session = nil
@sort_param = nil
end
:attachments,
:enumerations
- def setup
- super
- end
-
def test_activities_collection_for_select_options_should_return_array_of_activity_names_and_ids
activities = activity_collection_for_select_options
assert activities.include?(["Design", 9])
def setup
super
set_language_if_valid('en')
- User.current = nil
end
test '#watcher_link with a non-watched object' do