##// END OF EJS Templates
repository: switch darcs cat test if cat supports....
Toshi MARUYAMA -
r4488:35c35a193cd7
parent child
Show More
@@ -56,11 +56,13 class RepositoryDarcsTest < ActiveSupport::TestCase
56 56 end
57 57
58 58 def test_cat
59 if @repository.scm.supports_cat?
59 60 @repository.fetch_changesets
60 61 cat = @repository.cat("sources/welcome_controller.rb", 2)
61 62 assert_not_nil cat
62 63 assert cat.include?('class WelcomeController < ApplicationController')
63 64 end
65 end
64 66 else
65 67 puts "Darcs test repository NOT FOUND. Skipping unit tests !!!"
66 68 def test_fake; assert true end
General Comments 0
You need to be logged in to leave comments. Login now