@@ -249,7 +249,6 class ChangesetTest < ActiveSupport::TestCase | |||
|
249 | 249 | r = Repository::Subversion.create!( |
|
250 | 250 | :project => Project.find(3), |
|
251 | 251 | :url => 'svn://localhost/test') |
|
252 | ||
|
253 | 252 | with_settings :commit_cross_project_ref => '0' do |
|
254 | 253 | c = Changeset.new(:repository => r, |
|
255 | 254 | :committed_on => Time.now, |
@@ -264,7 +263,6 class ChangesetTest < ActiveSupport::TestCase | |||
|
264 | 263 | r = Repository::Subversion.create!( |
|
265 | 264 | :project => Project.find(3), |
|
266 | 265 | :url => 'svn://localhost/test') |
|
267 | ||
|
268 | 266 | with_settings :commit_cross_project_ref => '1' do |
|
269 | 267 | c = Changeset.new(:repository => r, |
|
270 | 268 | :committed_on => Time.now, |
@@ -317,7 +315,6 class ChangesetTest < ActiveSupport::TestCase | |||
|
317 | 315 | :project_id => 1, |
|
318 | 316 | :url => 'svn://localhost/test', |
|
319 | 317 | :identifier => 'documents') |
|
320 | ||
|
321 | 318 | c = Changeset.new(:revision => '520', :repository => r) |
|
322 | 319 | assert_equal 'documents|r520', c.text_tag |
|
323 | 320 | assert_equal 'ecookbook:documents|r520', c.text_tag(Project.find(2)) |
General Comments 0
You need to be logged in to leave comments.
Login now