remove extra empty lines from test/unit/changeset_test.rb
git-svn-id: http://svn.redmine.org/redmine/trunk@12364 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
436d44962d
commit
a624204f1b
|
@ -249,7 +249,6 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
r = Repository::Subversion.create!(
|
r = Repository::Subversion.create!(
|
||||||
:project => Project.find(3),
|
:project => Project.find(3),
|
||||||
:url => 'svn://localhost/test')
|
:url => 'svn://localhost/test')
|
||||||
|
|
||||||
with_settings :commit_cross_project_ref => '0' do
|
with_settings :commit_cross_project_ref => '0' do
|
||||||
c = Changeset.new(:repository => r,
|
c = Changeset.new(:repository => r,
|
||||||
:committed_on => Time.now,
|
:committed_on => Time.now,
|
||||||
|
@ -264,7 +263,6 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
r = Repository::Subversion.create!(
|
r = Repository::Subversion.create!(
|
||||||
:project => Project.find(3),
|
:project => Project.find(3),
|
||||||
:url => 'svn://localhost/test')
|
:url => 'svn://localhost/test')
|
||||||
|
|
||||||
with_settings :commit_cross_project_ref => '1' do
|
with_settings :commit_cross_project_ref => '1' do
|
||||||
c = Changeset.new(:repository => r,
|
c = Changeset.new(:repository => r,
|
||||||
:committed_on => Time.now,
|
:committed_on => Time.now,
|
||||||
|
@ -317,7 +315,6 @@ class ChangesetTest < ActiveSupport::TestCase
|
||||||
:project_id => 1,
|
:project_id => 1,
|
||||||
:url => 'svn://localhost/test',
|
:url => 'svn://localhost/test',
|
||||||
:identifier => 'documents')
|
:identifier => 'documents')
|
||||||
|
|
||||||
c = Changeset.new(:revision => '520', :repository => r)
|
c = Changeset.new(:revision => '520', :repository => r)
|
||||||
assert_equal 'documents|r520', c.text_tag
|
assert_equal 'documents|r520', c.text_tag
|
||||||
assert_equal 'ecookbook:documents|r520', c.text_tag(Project.find(2))
|
assert_equal 'ecookbook:documents|r520', c.text_tag(Project.find(2))
|
||||||
|
|
Loading…
Reference in New Issue