Permalink
Browse files

Merge pull request #15 from sleepycat/fixed_test

Removed references to jQuery from tests.
  • Loading branch information...
2 parents 9b45ce5 + 8d1ce75 commit d98d5a2b93e2fc019b729306d87254254b088f8d @tobsch committed Feb 10, 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 d98d5a2

Please sign in to comment.