##// END OF EJS Templates
scm: code clean up unit model changeset test....
Toshi MARUYAMA -
r5041:8d0d1d50ccba
parent child
Show More
@@ -175,7 +175,9 class ChangesetTest < ActiveSupport::TestCase
175 175
176 176 def test_commit_referencing_a_parent_project_issue
177 177 # repository of child project
178 r = Repository::Subversion.create!(:project => Project.find(3), :url => 'svn://localhost/test')
178 r = Repository::Subversion.create!(
179 :project => Project.find(3),
180 :url => 'svn://localhost/test')
179 181
180 182 c = Changeset.new(:repository => r,
181 183 :committed_on => Time.now,
@@ -192,7 +194,9 class ChangesetTest < ActiveSupport::TestCase
192 194 end
193 195
194 196 def test_text_tag_hash
195 c = Changeset.new(:scmid => '7234cb2750b63f47bff735edc50a1c0a433c2518', :revision => '7234cb2750b63f47bff735edc50a1c0a433c2518')
197 c = Changeset.new(
198 :scmid => '7234cb2750b63f47bff735edc50a1c0a433c2518',
199 :revision => '7234cb2750b63f47bff735edc50a1c0a433c2518')
196 200 assert_equal 'commit:7234cb2750b63f47bff735edc50a1c0a433c2518', c.text_tag
197 201 end
198 202
General Comments 0
You need to be logged in to leave comments. Login now