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
Hugo Roque 19dff78d02 assert_template no more passing with what ever string that matches.
Given Im rendering an template `/layout/hello.html.erb`, assert_template was
passing with any string that matches. This behavior allowed false passing like:

	assert_template "layout"
	assert_template "out/hello"

Now the passing possibilities are:

	assert_template "layout/hello"
	assert_template "hello"

fixing assert_template bug when template matches expected, but not ends with

Cherry Pick Merge: Fixes issue #3849 assert_template false positive

taking redundant test off

prevening incorrect assert_template when rendering with repeated names in path

updating CHANGELOG with bugfix: assert_template false passing
2012-09-29 23:31:49 -03:00
..
alternate_helpers
bad_customers
blog_public
comments
custom_pattern
customers
db_definitions
developers
digestor
filter_test/implicit_actions
fun
functional_caching
games
good_customers
happy_path/render_action
helpers
helpers1_pack
helpers2_pack
layout_tests
layouts
localized
mascots
multipart
old_content_type
override/test
override2/layouts/test
post_test
projects
public
quiz/questions
replies
respond_to
respond_with
scope/test
session_autoload_test/session_autoload_test
star_star_mime
symlink_parent
test assert_template no more passing with what ever string that matches. 2012-09-29 23:31:49 -03:00
topics
translations/templates
_top_level_partial.html.erb
_top_level_partial_only.erb
companies.yml
company.rb
developer.rb
developers.yml
developers_projects.yml
hello.html
mascot.rb
mascots.yml
plain_text.raw
plain_text_with_characters.raw
project.rb
projects.yml
replies.yml
reply.rb
ruby_template.ruby
shared.html.erb
topic.rb
topics.yml
with_format.json.erb