rails/actionpack/test/fixtures
Piotr Sarnacki e4aaac1301 Fix sorting of helpers from different paths
When more than one directory for helpers is provided to a controller, it
should preserver the order of directories. Given 2 paths:

    MyController.helpers_paths = ["dir1/helpers", "dir2/helpers"]

helpers from dir1 should be loaded first. Before this commit, all
helpers were mixed and then sorted alphabetically, which essentially
would require to rename helpers to get desired order.

This is a problem especially for engines, where you would like to be
able to predict accurately which engine helpers will load first.

(closes #6496)
2012-05-28 06:58:48 +02:00
..
alternate_helpers Use redefine_method since baz is already defined. 2010-09-28 18:31:52 -03:00
bad_customers
blog_public Modified ActionDispatch::Static to allow passing multiple roots 2010-09-03 22:59:09 +02:00
comments added tests for render :file/:template and the :formats/:handlers/:locale options. 2011-09-23 00:36:10 +02:00
custom_pattern [action_view] added custom patterns to template resolver 2011-03-20 07:01:46 +08:00
customers
db_definitions Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
developers
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 Make controller namespace partial prefix optional 2012-03-28 20:21:46 -04:00
functional_caching Merge pull request #2219 from kommen/fix_fragment_caching_squashed 2011-10-13 13:36:20 -07:00
games Make controller namespace partial prefix optional 2012-03-28 20:21:46 -04:00
good_customers
happy_path/render_action Started implementing render :action 2009-03-19 13:35:39 -07: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
layout_tests Recreate symlink in layouts for tests 2010-12-31 14:22:27 +01:00
layouts Merge pull request #5480 from drogus/rendering-issues 2012-03-17 11:24:19 -03: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
mascots
multipart
old_content_type removes the RJS template handler 2011-04-13 13:23:18 +02:00
override/test
override2/layouts/test
post_test
projects
public Remove fixture files with Windows incompatible filenames 2012-02-20 04:46:45 +00:00
quiz/questions
replies
respond_to removes the RJS template handler 2011-04-13 13:23:18 +02: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
routes add tests and external file backtrace for Routing::Mapper#draw 2012-05-15 04:28:10 +02:00
scope/test
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
test Fix assert_template assertion with :layout option 2012-05-04 23:31:03 +04:00
topics
translations/templates wrap translate defaults to use translate helper features, closes #1102 2012-04-30 09:44:39 +03:00
_top_level_partial_only.erb
_top_level_partial.html.erb
companies.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
company.rb Deprecate set_sequence_name in favour of self.sequence_name= 2011-11-29 20:13:37 +00:00
developer.rb Deprecate set_table_name in favour of self.table_name= or defining your own method. 2011-11-29 20:13:36 +00:00
developers_projects.yml
developers.yml Replaced all 'for' loops with Enumerable#each 2012-01-30 03:15:49 +08:00
hello.html Fix render :file => "#{Rails.root}/public/404.html", :status => :not_found. Closes #8994 2010-02-23 22:45:42 -08:00
mascot.rb
mascots.yml
plain_text_with_characters.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
plain_text.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
project.rb
projects.yml
replies.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
reply.rb Use the new scope syntax 2012-03-23 10:32:51 -03:00
shared.html.erb
topic.rb
topics.yml Deletes trailing whitespaces (over text files only find * -type f -exec sed 's/[ \t]*$//' -i {} \;) 2010-08-14 04:12:33 -03:00
with_format.json.erb Use the right format when a partial is missing. 2012-02-20 17:52:14 -02:00