Sha256: b750e4044dbea3427fdbc185a8cf476025e397f08caccff5e7a3e8abcee1051b
Contents?: true
Size: 610 Bytes
Versions: 27
Compression:
Stored size: 610 Bytes
Contents
Feature: content_tag helper Scenario: content_tag doesn't escape content from either block or string Given a fixture app "empty-app" And an empty file named "config.rb" And a file named "source/index.html.erb" with: """ <%= content_tag :div, "<hello>world</hello>", :class => 'one' %> <% content_tag :where, :class => 'the hell is' do %> <my>damn croissant</my> <% end %> """ And the Server is running When I go to "index.html" Then I should see '<div class="one"><hello>world</hello>' And I should see '<where class="the hell is"><my>damn croissant</my>'
Version data entries
27 entries across 27 versions & 2 rubygems