diff options
author | Janko Marohnić <janko.marohnic@gmail.com> | 2012-01-25 11:52:34 +0100 |
---|---|---|
committer | Janko Marohnić <janko.marohnic@gmail.com> | 2012-01-25 11:52:34 +0100 |
commit | 3339293280c12b1335d193c7f49c3e6ea665e76d (patch) | |
tree | 94a98b4c33fe1a4981ac7820eb00a8bc7ef92f3b /actionpack/test | |
parent | b1f8ba138360cd67994d4134f57abca74f8528bc (diff) | |
download | rails-3339293280c12b1335d193c7f49c3e6ea665e76d.tar.gz rails-3339293280c12b1335d193c7f49c3e6ea665e76d.tar.bz2 rails-3339293280c12b1335d193c7f49c3e6ea665e76d.zip |
Make path_to_video in video_tag apply to each source
Diffstat (limited to 'actionpack/test')
-rw-r--r-- | actionpack/test/template/asset_tag_helper_test.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/actionpack/test/template/asset_tag_helper_test.rb b/actionpack/test/template/asset_tag_helper_test.rb index aa7304b3ed..1c4bf20089 100644 --- a/actionpack/test/template/asset_tag_helper_test.rb +++ b/actionpack/test/template/asset_tag_helper_test.rb @@ -201,8 +201,8 @@ class AssetTagHelperTest < ActionView::TestCase %(video_tag("error.avi", "size" => "x")) => %(<video src="/videos/error.avi" />), %(video_tag("http://media.rubyonrails.org/video/rails_blog_2.mov")) => %(<video src="http://media.rubyonrails.org/video/rails_blog_2.mov" />), %(video_tag("//media.rubyonrails.org/video/rails_blog_2.mov")) => %(<video src="//media.rubyonrails.org/video/rails_blog_2.mov" />), - %(video_tag(["multiple.ogg", "multiple.avi"])) => %(<video><source src="multiple.ogg" /><source src="multiple.avi" /></video>), - %(video_tag(["multiple.ogg", "multiple.avi"], :size => "160x120", :controls => true)) => %(<video controls="controls" height="120" width="160"><source src="multiple.ogg" /><source src="multiple.avi" /></video>) + %(video_tag(["multiple.ogg", "multiple.avi"])) => %(<video><source src="/videos/multiple.ogg" /><source src="/videos/multiple.avi" /></video>), + %(video_tag(["multiple.ogg", "multiple.avi"], :size => "160x120", :controls => true)) => %(<video controls="controls" height="120" width="160"><source src="/videos/multiple.ogg" /><source src="/videos/multiple.avi" /></video>) } AudioPathToTag = { |