Commit 5a94fec682c9a58093c2c10ea55fd73df9b6cf97
Committed by
Antonio Terceiro
1 parent
aa742f71
Exists in
master
and in
28 other branches
Fixing browser controller test strings
Showing
1 changed file
with
16 additions
and
16 deletions
Show diff stats
test/functional/browse_controller_test.rb
| @@ -106,20 +106,20 @@ class BrowseControllerTest < Test::Unit::TestCase | @@ -106,20 +106,20 @@ class BrowseControllerTest < Test::Unit::TestCase | ||
| 106 | 106 | ||
| 107 | should 'the people filter define the title' do | 107 | should 'the people filter define the title' do |
| 108 | get :people, :filter => 'more_recent' | 108 | get :people, :filter => 'more_recent' |
| 109 | - assert_equal 'People more recent' , assigns(:title) | ||
| 110 | - assert_tag :h1, :content => 'People more recent' | 109 | + assert_equal 'More recent people' , assigns(:title) |
| 110 | + assert_tag :h1, :content => 'More recent people' | ||
| 111 | 111 | ||
| 112 | get :people, :filter => 'more_active' | 112 | get :people, :filter => 'more_active' |
| 113 | - assert_equal 'People more active' , assigns(:title) | ||
| 114 | - assert_tag :h1, :content => 'People more active' | 113 | + assert_equal 'More active people' , assigns(:title) |
| 114 | + assert_tag :h1, :content => 'More active people' | ||
| 115 | 115 | ||
| 116 | get :people, :filter => 'more_popular' | 116 | get :people, :filter => 'more_popular' |
| 117 | - assert_equal 'People more popular' , assigns(:title) | ||
| 118 | - assert_tag :h1, :content => 'People more popular' | 117 | + assert_equal 'More popular people' , assigns(:title) |
| 118 | + assert_tag :h1, :content => 'More popular people' | ||
| 119 | 119 | ||
| 120 | get :people, :filter => 'more_anything' | 120 | get :people, :filter => 'more_anything' |
| 121 | - assert_equal 'People more recent' , assigns(:title) | ||
| 122 | - assert_tag :h1, :content => 'People more recent' | 121 | + assert_equal 'More recent people' , assigns(:title) |
| 122 | + assert_tag :h1, :content => 'More recent people' | ||
| 123 | end | 123 | end |
| 124 | 124 | ||
| 125 | should 'search for community' do | 125 | should 'search for community' do |
| @@ -202,20 +202,20 @@ class BrowseControllerTest < Test::Unit::TestCase | @@ -202,20 +202,20 @@ class BrowseControllerTest < Test::Unit::TestCase | ||
| 202 | 202 | ||
| 203 | should 'the communities filter define the title' do | 203 | should 'the communities filter define the title' do |
| 204 | get :communities, :filter => 'more_recent' | 204 | get :communities, :filter => 'more_recent' |
| 205 | - assert_equal 'Communities more recent' , assigns(:title) | ||
| 206 | - assert_tag :h1, :content => 'Communities more recent' | 205 | + assert_equal 'More recent communities' , assigns(:title) |
| 206 | + assert_tag :h1, :content => 'More recent communities' | ||
| 207 | 207 | ||
| 208 | get :communities, :filter => 'more_active' | 208 | get :communities, :filter => 'more_active' |
| 209 | - assert_equal 'Communities more active' , assigns(:title) | ||
| 210 | - assert_tag :h1, :content => 'Communities more active' | 209 | + assert_equal 'More active communities' , assigns(:title) |
| 210 | + assert_tag :h1, :content => 'More active communities' | ||
| 211 | 211 | ||
| 212 | get :communities, :filter => 'more_popular' | 212 | get :communities, :filter => 'more_popular' |
| 213 | - assert_equal 'Communities more popular' , assigns(:title) | ||
| 214 | - assert_tag :h1, :content => 'Communities more popular' | 213 | + assert_equal 'More popular communities' , assigns(:title) |
| 214 | + assert_tag :h1, :content => 'More popular communities' | ||
| 215 | 215 | ||
| 216 | get :communities, :filter => 'more_anything' | 216 | get :communities, :filter => 'more_anything' |
| 217 | - assert_equal 'Communities more recent' , assigns(:title) | ||
| 218 | - assert_tag :h1, :content => 'Communities more recent' | 217 | + assert_equal 'More recent communities' , assigns(:title) |
| 218 | + assert_tag :h1, :content => 'More recent communities' | ||
| 219 | end | 219 | end |
| 220 | 220 | ||
| 221 | end | 221 | end |