diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-06-25 20:11:11 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-06-25 20:11:11 -0600 |
| commit | 1d05a4d0e767bd04fbae6d7d7d224fb7e0b03e6d (patch) | |
| tree | e7f3831814c5d70ea5bf24c40d58c07d58a89072 | |
| parent | 04d9e10764f247c647eec433aef45f094747d85c (diff) | |
configure Slim in feature tests to not escape or sort attributes
| -rw-r--r-- | features/step_definitions.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/features/step_definitions.rb b/features/step_definitions.rb index 5ba10177..ff0dca0a 100644 --- a/features/step_definitions.rb +++ b/features/step_definitions.rb @@ -36,9 +36,9 @@ end Then /the result should match the (HTML|XML) structure/ do |format, expect| case format when 'HTML' - options = { :format => :html } + options = { :format => :html, :disable_escape => true, :sort_attrs => false } when 'XML' - options = { :format => :xhtml } + options = { :format => :xhtml, :disable_escape => true, :sort_attrs => false } else options = {} end |
