Commit 88070d96fcc2381d723d8a2e4b69b853a61068cd

Authored by Victor Costa
1 parent 30cfda77

fixing functional tests

test/functional/content_viewer_controller_test.rb
... ... @@ -1047,7 +1047,7 @@ class ContentViewerControllerTest < ActionController::TestCase
1047 1047 comment.save!
1048 1048 login_as 'testuser'
1049 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 1051 end
1052 1052  
1053 1053 should 'display reply to comment button if not authenticated' do
... ... @@ -1057,7 +1057,7 @@ class ContentViewerControllerTest < ActionController::TestCase
1057 1057 comment = article.comments.build(:author => profile, :title => 'a comment', :body => 'lalala')
1058 1058 comment.save!
1059 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 1061 end
1062 1062  
1063 1063 should 'display replies if comment has replies' do
... ...