scm: code clean up unit model changeset test.
git-svn-id: svn+ssh://rubyforge.org/var/svn/redmine/trunk@5161 e93f8b46-1217-0410-a6f0-8f06a7374b81
This commit is contained in:
parent
c051572070
commit
8d0d1d50cc
|
@ -175,7 +175,9 @@ class ChangesetTest < ActiveSupport::TestCase
|
|||
|
||||
def test_commit_referencing_a_parent_project_issue
|
||||
# repository of child project
|
||||
r = Repository::Subversion.create!(:project => Project.find(3), :url => 'svn://localhost/test')
|
||||
r = Repository::Subversion.create!(
|
||||
:project => Project.find(3),
|
||||
:url => 'svn://localhost/test')
|
||||
|
||||
c = Changeset.new(:repository => r,
|
||||
:committed_on => Time.now,
|
||||
|
@ -192,7 +194,9 @@ class ChangesetTest < ActiveSupport::TestCase
|
|||
end
|
||||
|
||||
def test_text_tag_hash
|
||||
c = Changeset.new(:scmid => '7234cb2750b63f47bff735edc50a1c0a433c2518', :revision => '7234cb2750b63f47bff735edc50a1c0a433c2518')
|
||||
c = Changeset.new(
|
||||
:scmid => '7234cb2750b63f47bff735edc50a1c0a433c2518',
|
||||
:revision => '7234cb2750b63f47bff735edc50a1c0a433c2518')
|
||||
assert_equal 'commit:7234cb2750b63f47bff735edc50a1c0a433c2518', c.text_tag
|
||||
end
|
||||
|
||||
|
|
Loading…
Reference in New Issue