From 85ea7346fedb6a229ecb110ffb417d85c30daf08 Mon Sep 17 00:00:00 2001 From: Mircea Moise Date: Sat, 2 Nov 2013 15:51:05 +0000 Subject: [PATCH] Making tests green by modifying the partial_layout_erb template test When using <%= , ActionView is escaping the result for safety purposes so it will be better to remove the tags from the test --- test/results/partial_layout_erb.xhtml | 2 +- test/templates/partial_layout_erb.erb | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/test/results/partial_layout_erb.xhtml b/test/results/partial_layout_erb.xhtml index 53b96e3b..1ac1bc0a 100644 --- a/test/results/partial_layout_erb.xhtml +++ b/test/results/partial_layout_erb.xhtml @@ -1,5 +1,5 @@

Partial layout used with for block:

This is inside a partial layout

-

Some content within a layout

+ Some content within a layout
\ No newline at end of file diff --git a/test/templates/partial_layout_erb.erb b/test/templates/partial_layout_erb.erb index c05ddb38..7f883775 100644 --- a/test/templates/partial_layout_erb.erb +++ b/test/templates/partial_layout_erb.erb @@ -1,4 +1,4 @@

Partial layout used with for block:

<%= render :layout => 'layout_for_partial' do -%> -

Some content within a layout

+Some content within a layout <% end %>