Permalink
Browse files

jQuery isn't being loaded in production

  • Loading branch information...
1 parent 01c6c8b commit 9585a662aea43f15e58787ee6da9b1e4e665f652 @jcasimir committed Apr 19, 2011
Showing with 1 addition and 23 deletions.
  1. +1 −1 app/views/layouts/application.html.erb
  2. +0 −9 test/performance/browsing_test.rb
  3. +0 −13 test/test_helper.rb
@@ -3,7 +3,7 @@
<head>
<title><%= content_for?(:title) ? yield(:title) : "Untitled" %></title>
<%= stylesheet_link_tag "application" %>
- <%= javascript_include_tag :defaults %>
+ <%= javascript_include_tag :all %>
<%= csrf_meta_tag %>
<%= yield(:head) %>
</head>
@@ -1,9 +0,0 @@
-require 'test_helper'
-require 'rails/performance_test_help'
-
-# Profiling results for each test method are written to tmp/performance.
-class BrowsingTest < ActionDispatch::PerformanceTest
- def test_homepage
- get '/'
- end
-end
View
@@ -1,13 +0,0 @@
-ENV["RAILS_ENV"] = "test"
-require File.expand_path('../../config/environment', __FILE__)
-require 'rails/test_help'
-
-class ActiveSupport::TestCase
- # Setup all fixtures in test/fixtures/*.(yml|csv) for all tests in alphabetical order.
- #
- # Note: You'll currently still have to declare fixtures explicitly in integration tests
- # -- they do not yet inherit this setting
- fixtures :all
-
- # Add more helper methods to be used by all tests here...
-end

0 comments on commit 9585a66

Please sign in to comment.