Commit 8c5ac225b45688251f0d5b2ee610cadaa3f69efe
1 parent
fe43ec78
Exists in
master
and in
29 other branches
Fixed test and added gallery big icon
(ActionItem1799)
Showing
3 changed files
with
3 additions
and
2 deletions
Show diff stats
5.58 KB
public/designs/icons/tango/style.css
test/functional/content_viewer_controller_test.rb
... | ... | @@ -827,7 +827,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase |
827 | 827 | |
828 | 828 | get :view_page, :profile => profile.identifier, :page => folder.explode_path |
829 | 829 | |
830 | - assert_tag :tag => 'img', :attributes => {:src => /\/images\/icons-app\/image-loading-thumb.png/} | |
830 | + assert_tag :tag => 'a', :attributes => {:class => 'image', :style => /background-image: url\(\/images\/icons-app\/image-loading-thumb.png\)/} | |
831 | 831 | end |
832 | 832 | |
833 | 833 | should 'display thumbnail image in gallery if thumbnails were processed' do |
... | ... | @@ -839,7 +839,7 @@ class ContentViewerControllerTest < Test::Unit::TestCase |
839 | 839 | process_delayed_job_queue |
840 | 840 | get :view_page, :profile => profile.identifier, :page => folder.explode_path |
841 | 841 | |
842 | - assert_tag :tag => 'img', :attributes => {:src => /other-pic_thumb.jpg/} | |
842 | + assert_tag :tag => 'a', :attributes => {:class => 'image', :style => /background-image: url\(.*\/other-pic_thumb.jpg\)/} | |
843 | 843 | end |
844 | 844 | |
845 | 845 | should 'display source from article' do | ... | ... |