From 88070d96fcc2381d723d8a2e4b69b853a61068cd Mon Sep 17 00:00:00 2001 From: vfcosta Date: Tue, 14 May 2013 10:38:29 -0300 Subject: [PATCH] fixing functional tests --- test/functional/content_viewer_controller_test.rb | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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