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, "world", class: 'one' %> <% content_tag :where, class: 'the hell is' do %> damn croissant <% end %> """ And the Server is running When I go to "index.html" Then I should see '
world' And I should see 'damn croissant'