Mercurial > hg > soundsoftware-site
comparison test/functional/.svn/text-base/repositories_bazaar_controller_test.rb.svn-base @ 441:cbce1fd3b1b7 redmine-1.2
Update to Redmine 1.2-stable branch (Redmine SVN rev 6000)
author | Chris Cannam |
---|---|
date | Mon, 06 Jun 2011 14:24:13 +0100 |
parents | 051f544170fe |
children |
comparison
equal
deleted
inserted
replaced
245:051f544170fe | 441:cbce1fd3b1b7 |
---|---|
114 def test_diff | 114 def test_diff |
115 # Full diff of changeset 3 | 115 # Full diff of changeset 3 |
116 get :diff, :id => 3, :rev => 3 | 116 get :diff, :id => 3, :rev => 3 |
117 assert_response :success | 117 assert_response :success |
118 assert_template 'diff' | 118 assert_template 'diff' |
119 # Line 22 removed | 119 # Line 11 removed |
120 assert_tag :tag => 'th', | 120 assert_tag :tag => 'th', |
121 :content => /2/, | 121 :content => /11/, |
122 :sibling => { :tag => 'td', | 122 :sibling => { :tag => 'td', |
123 :attributes => { :class => /diff_in/ }, | 123 :attributes => { :class => /diff_out/ }, |
124 :content => /Main purpose/ } | 124 :content => /Display more information/ } |
125 end | 125 end |
126 | 126 |
127 def test_annotate | 127 def test_annotate |
128 get :annotate, :id => 3, :path => ['doc-mkdir.txt'] | 128 get :annotate, :id => 3, :path => ['doc-mkdir.txt'] |
129 assert_response :success | 129 assert_response :success |