##// END OF EJS Templates
scm: mercurial: fix revision at functional diff test....
Toshi MARUYAMA -
r4598:2b24b6c9bb40
parent child
Show More
@@ -44,7 +44,7 class RepositoriesMercurialControllerTest < ActionController::TestCase
44 44 assert_not_nil assigns(:entries)
45 45 assert_not_nil assigns(:changesets)
46 46 end
47
47
48 48 def test_show_root
49 49 get :show, :id => 3
50 50 assert_response :success
@@ -55,7 +55,7 class RepositoriesMercurialControllerTest < ActionController::TestCase
55 55 assert assigns(:entries).detect {|e| e.name == 'sources' && e.kind == 'dir'}
56 56 assert assigns(:entries).detect {|e| e.name == 'README' && e.kind == 'file'}
57 57 end
58
58
59 59 def test_show_directory
60 60 get :show, :id => 3, :path => ['images']
61 61 assert_response :success
@@ -133,7 +133,7 class RepositoriesMercurialControllerTest < ActionController::TestCase
133 133
134 134 [4, '4', 'def6d2f1254a'].each do |r1|
135 135 # Full diff of changeset 4
136 get :diff, :id => 3, :rev => 4
136 get :diff, :id => 3, :rev => r1
137 137 assert_response :success
138 138 assert_template 'diff'
139 139
General Comments 0
You need to be logged in to leave comments. Login now