diff --git a/test/functional/content_viewer_controller_test.rb b/test/functional/content_viewer_controller_test.rb index fc291c1..3f642ea 100644 --- a/test/functional/content_viewer_controller_test.rb +++ b/test/functional/content_viewer_controller_test.rb @@ -1047,7 +1047,7 @@ class ContentViewerControllerTest < ActionController::TestCase comment.save! login_as 'testuser' get :view_page, :profile => 'testuser', :page => [ 'test' ] - assert_tag :tag => 'a', :attributes => { :class => /comment-footer-link/ }, :content => 'Reply' + assert_tag :tag => 'a', :attributes => { :class => /comment-actions-reply/ } end should 'display reply to comment button if not authenticated' do @@ -1057,7 +1057,7 @@ class ContentViewerControllerTest < ActionController::TestCase comment = article.comments.build(:author => profile, :title => 'a comment', :body => 'lalala') comment.save! get :view_page, :profile => 'testuser', :page => [ 'test' ] - assert_tag :tag => 'a', :attributes => { :class => /comment-footer-link/ }, :content => 'Reply' + assert_tag :tag => 'a', :attributes => { :class => /comment-actions-reply/ } end should 'display replies if comment has replies' do -- libgit2 0.21.2