diff options
| author | Dan Allen <dan.j.allen@gmail.com> | 2017-06-25 19:58:41 -0600 |
|---|---|---|
| committer | Dan Allen <dan.j.allen@gmail.com> | 2017-06-25 19:58:41 -0600 |
| commit | a4203ed6d05e772e8b82a7933ff8a08fe3e4c87e (patch) | |
| tree | b5ff6b2162c4e9040f9cf3aa387a76397c236304 | |
| parent | 49d08478f5d3b487d542ad1322e95e53054ea2f2 (diff) | |
configure Slim in feature tests to use html as format instead of deprecated html5
| -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 140ea4fa..5ba10177 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 => :html5} + options = { :format => :html } when 'XML' - options = {:format => :xhtml} + options = { :format => :xhtml } else options = {} end |
