Mercurial > hg > soundsoftware-site
comparison test/functional/repositories_cvs_controller_test.rb @ 51:371eac10df0b live
* Merge from "cannam" branch. This includes update to Redmine trunk, plus welcome/tip-of-the-day from luisf branch.
author | Chris Cannam |
---|---|
date | Wed, 24 Nov 2010 12:20:08 +0000 |
parents | 94944d00e43c |
children | af80e5618e9b |
comparison
equal
deleted
inserted
replaced
34:09b1d4349da3 | 51:371eac10df0b |
---|---|
104 :content => /before_filter/ | 104 :content => /before_filter/ |
105 end | 105 end |
106 | 106 |
107 def test_entry_not_found | 107 def test_entry_not_found |
108 get :entry, :id => 1, :path => ['sources', 'zzz.c'] | 108 get :entry, :id => 1, :path => ['sources', 'zzz.c'] |
109 assert_tag :tag => 'div', :attributes => { :class => /error/ }, | 109 assert_tag :tag => 'p', :attributes => { :id => /errorExplanation/ }, |
110 :content => /The entry or revision was not found in the repository/ | 110 :content => /The entry or revision was not found in the repository/ |
111 end | 111 end |
112 | 112 |
113 def test_entry_download | 113 def test_entry_download |
114 get :entry, :id => 1, :path => ['sources', 'watchers_controller.rb'], :format => 'raw' | 114 get :entry, :id => 1, :path => ['sources', 'watchers_controller.rb'], :format => 'raw' |