Commit d8c5b8ef2c8ce3c768921d2165e5bdb5b701ad16
1 parent
c44e24b6
Exists in
master
and in
28 other branches
Fixing content_viewwer translation link test
Showing
1 changed file
with
1 additions
and
1 deletions
Show diff stats
test/functional/content_viewer_controller_test.rb
@@ -1082,7 +1082,7 @@ end | @@ -1082,7 +1082,7 @@ end | ||
1082 | textile = fast_create(TextileArticle, :profile_id => @profile.id, :path => 'textile', :language => 'en') | 1082 | textile = fast_create(TextileArticle, :profile_id => @profile.id, :path => 'textile', :language => 'en') |
1083 | translation = fast_create(TextileArticle, :profile_id => @profile.id, :path => 'translation', :language => 'es', :translation_of_id => textile) | 1083 | translation = fast_create(TextileArticle, :profile_id => @profile.id, :path => 'translation', :language => 'es', :translation_of_id => textile) |
1084 | xhr :get, :view_page, :profile => @profile.identifier, :page => textile.explode_path, :toolbar => true | 1084 | xhr :get, :view_page, :profile => @profile.identifier, :page => textile.explode_path, :toolbar => true |
1085 | - assert_tag :a, :attributes => { :class => /article-translations-menu/, :onclick => /toggleSubmenu/ } | 1085 | + assert_tag :a, :attributes => { :class => /article-translations-menu/, :onmouseover => /toggleSubmenu/ } |
1086 | end | 1086 | end |
1087 | 1087 | ||
1088 | should 'not be redirected if already in translation' do | 1088 | should 'not be redirected if already in translation' do |