diff options
Diffstat (limited to 'test/unit/changeset_test.rb')
-rw-r--r-- | test/unit/changeset_test.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/test/unit/changeset_test.rb b/test/unit/changeset_test.rb index a1c3cf8dc..c246a0c70 100644 --- a/test/unit/changeset_test.rb +++ b/test/unit/changeset_test.rb @@ -32,6 +32,10 @@ class ChangesetTest < ActiveSupport::TestCase :trackers, :projects_trackers, :enabled_modules, :roles + def setup + User.current = nil + end + def test_ref_keywords_any ActionMailer::Base.deliveries.clear Setting.commit_ref_keywords = '*' |