Commit 88070d96fcc2381d723d8a2e4b69b853a61068cd
1 parent
30cfda77
Exists in
master
and in
28 other branches
fixing functional tests
Showing
1 changed file
with
2 additions
and
2 deletions
Show diff stats
test/functional/content_viewer_controller_test.rb
@@ -1047,7 +1047,7 @@ class ContentViewerControllerTest < ActionController::TestCase | @@ -1047,7 +1047,7 @@ class ContentViewerControllerTest < ActionController::TestCase | ||
1047 | comment.save! | 1047 | comment.save! |
1048 | login_as 'testuser' | 1048 | login_as 'testuser' |
1049 | get :view_page, :profile => 'testuser', :page => [ 'test' ] | 1049 | get :view_page, :profile => 'testuser', :page => [ 'test' ] |
1050 | - assert_tag :tag => 'a', :attributes => { :class => /comment-footer-link/ }, :content => 'Reply' | 1050 | + assert_tag :tag => 'a', :attributes => { :class => /comment-actions-reply/ } |
1051 | end | 1051 | end |
1052 | 1052 | ||
1053 | should 'display reply to comment button if not authenticated' do | 1053 | should 'display reply to comment button if not authenticated' do |
@@ -1057,7 +1057,7 @@ class ContentViewerControllerTest < ActionController::TestCase | @@ -1057,7 +1057,7 @@ class ContentViewerControllerTest < ActionController::TestCase | ||
1057 | comment = article.comments.build(:author => profile, :title => 'a comment', :body => 'lalala') | 1057 | comment = article.comments.build(:author => profile, :title => 'a comment', :body => 'lalala') |
1058 | comment.save! | 1058 | comment.save! |
1059 | get :view_page, :profile => 'testuser', :page => [ 'test' ] | 1059 | get :view_page, :profile => 'testuser', :page => [ 'test' ] |
1060 | - assert_tag :tag => 'a', :attributes => { :class => /comment-footer-link/ }, :content => 'Reply' | 1060 | + assert_tag :tag => 'a', :attributes => { :class => /comment-actions-reply/ } |
1061 | end | 1061 | end |
1062 | 1062 | ||
1063 | should 'display replies if comment has replies' do | 1063 | should 'display replies if comment has replies' do |