Permalink
Browse files

Removed references to jQuery from tests.

Assets test still referenced jQuery which was removed in commit
06d4bc8.
  • Loading branch information...
1 parent 9b45ce5 commit 8d1ce755836bb58961f27f002dbddf7dd571678b @sleepycat sleepycat committed Jan 23, 2013
Showing with 1 addition and 2 deletions.
  1. +1 −2 test/integration/assets_test.rb
@@ -1,11 +1,11 @@
require "test_helper"
class AssetsTest < ActionDispatch::IntegrationTest
+
test "includes full library" do
get "/assets/mediaelement-and-player.js"
assert_response :success
assert content_type("text/javascript")
- assert response_includes?("var jQuery = function( selector, context ) {")
assert response_includes?("var mejs = mejs || {}")
assert response_includes?("mejs.MediaElementPlayer.prototype = {")
end
@@ -14,7 +14,6 @@ class AssetsTest < ActionDispatch::IntegrationTest
get "/assets/mediaelement-without-player.js"
assert_response :success
assert content_type("text/javascript")
- assert !response_includes?("var jQuery = function( selector, context ) {")
assert response_includes?("var mejs = mejs || {}")
assert !response_includes?("mejs.MediaElementPlayer.prototype = {")
end

0 comments on commit 8d1ce75

Please sign in to comment.