1
0
Fork 0
mirror of https://github.com/rails/rails.git synced 2022-11-09 12:12:34 -05:00
rails--rails/actionpack/test/fixtures
Piotr Niełacny e0438b1c07 Show real LoadError on helpers require
When helper try to require missing file rails will throw exception about
missing helper.

  # app/helpers/my_helper.rb

  require 'missing'

  module MyHelper
  end

And when we try do load helper

  class ApplicationController
    helper :my
  end

Rails will throw exception. This is wrong because there is a helper
file.

  Missing helper file helpers/my_helper.rb

Now when helper try to require non-existed file rails will throw proper
exception.

  No such file to load -- missing
2013-07-10 11:26:43 +02:00
..
alternate_helpers Use redefine_method since baz is already defined. 2010-09-28 18:31:52 -03:00
bad_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
customers Ooops. Add fixture partials for last commit 2008-02-08 22:33:17 +00:00
filter_test/implicit_actions Add a failing test case for an implicit action with a before filter. 2011-03-23 23:32:44 +00:00
fun/games Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
functional_caching Add explicit opt-out for fragment cache digesting 2012-11-25 22:10:44 -06:00
good_customers Missed adds. References #11491. 2008-04-01 00:56:59 +00:00
helpers Be sure to call helper :all just on direct children. (Tests by Jesse Storimer) 2010-08-26 18:20:22 -03:00
helpers1_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
helpers2_pack Fix sorting of helpers from different paths 2012-05-28 06:58:48 +02:00
helpers_missing Show real LoadError on helpers require 2013-07-10 11:26:43 +02:00
layout_tests Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
layouts Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
localized Fixed that default locale templates should be used if the current locale template is missing [DHH] 2010-04-08 18:11:26 -07:00
multipart UTF-8 encode all keys and values in nested params hash. 2013-03-15 09:17:03 +08:00
old_content_type removes the RJS template handler 2011-04-13 13:23:18 +02:00
override/test
override2/layouts/test
post_test
public Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
quiz/questions Fixed simplified render with nested models [#2042 state:resolved] 2009-03-07 14:05:18 -06:00
respond_to fix respond_to without blocks not working if one of the blocks is all 2013-02-24 11:47:20 -05:00
respond_with Make sure respond_with with :js tries to render a template in all cases 2011-06-30 11:47:36 -03:00
session_autoload_test/session_autoload_test Fixed that an ArgumentError is thrown when request.session_options[:id] is read in the following scenario: when the cookie store is used, and the session contains a serialized object of an unloaded class, and no session data accesses have occurred yet. Pushed the stale_session_check responsibility out of the SessionHash and down into the session store, closer to where the deserialization actually occurs. Added some test coverage for this case and others related to deserialization of unloaded types. 2010-06-27 22:39:06 +02:00
star_star_mime add the fixture file 2010-11-22 23:06:13 +01:00
symlink_parent Fix layouts in symlinked paths. Closes #9136 [court3nay, caio] 2008-03-28 20:54:26 +00:00
test Remove unneeded test fixtures in AV 2013-06-20 17:23:16 +02:00
_top_level_partial_only.erb Fix rendering partials at the top level [#795 state:resolved] 2008-08-13 19:15:35 -05:00
company.rb Remove integration between attr_accessible/protected and AC::Metal::ParamsWrapper 2012-09-16 23:58:20 -05:00
hello.html Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. Closes #8994 2010-02-23 22:45:42 -08:00
ruby_template.ruby Rename .rb template handler to .ruby to avoid conflicts with mustache views classes 2012-09-17 10:07:08 -05:00
shared.html.erb Fixed render :template for templates in top level of view path. [#54 state:resolved] 2008-05-01 10:21:46 +01:00