summaryrefslogtreecommitdiffstats
path: root/test/unit/user_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'test/unit/user_test.rb')
-rw-r--r--test/unit/user_test.rb5
1 files changed, 2 insertions, 3 deletions
diff --git a/test/unit/user_test.rb b/test/unit/user_test.rb
index 4a1cb3337..a9484501d 100644
--- a/test/unit/user_test.rb
+++ b/test/unit/user_test.rb
@@ -316,9 +316,8 @@ class UserTest < ActiveSupport::TestCase
def test_destroy_should_nullify_changesets
changeset = Changeset.create!(
- :repository => Repository::Subversion.create!(
- :project_id => 1,
- :url => 'file:///var/svn'
+ :repository => Repository::Subversion.generate!(
+ :project_id => 1
),
:revision => '12',
:committed_on => Time.now,