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
Steve Klabnik afb053b4d3 Respect absolute paths in compute_source_path.
When using compute_source_path to determine the full path of an
asset, if our source begins with '/', we don't want to include
the directory. Examples are illustrative:

> compute_source_path("foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/stylesheets/foo.css"
> compute_source_path("/foo", "stylesheets", "css")
=> "/Users/steve/src/my_app/public/foo.css"

Before this patch, the second example would return the same as the
first.

Fixes #5680.
2012-06-16 18:06:15 +02:00
..
alternate_helpers
bad_customers
blog_public
comments added tests for render :file/:template and the :formats/:handlers/:locale options. 2011-09-23 00:36:10 +02:00
custom_pattern
customers
db_definitions
developers
filter_test/implicit_actions
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
helpers
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
layouts Merge pull request #5480 from drogus/rendering-issues 2012-03-17 11:24:19 -03:00
localized
mascots
multipart
old_content_type
override/test
override2/layouts/test
post_test
projects
public Respect absolute paths in compute_source_path. 2012-06-16 18:06:15 +02:00
quiz/questions
replies
respond_to
respond_with
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
star_star_mime
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.html.erb
_top_level_partial_only.erb
companies.yml
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.yml Replaced all 'for' loops with Enumerable#each 2012-01-30 03:15:49 +08:00
developers_projects.yml
hello.html
mascot.rb
mascots.yml
plain_text.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
plain_text_with_characters.raw Created a Raw handler for templates. 2012-05-17 12:14:20 -05:00
project.rb
projects.yml
replies.yml
reply.rb Use the new scope syntax 2012-03-23 10:32:51 -03:00
shared.html.erb
topic.rb
topics.yml
with_format.json.erb Use the right format when a partial is missing. 2012-02-20 17:52:14 -02:00