features/trema_run/conf_option.feature in trema-0.9.0 vs features/trema_run/conf_option.feature in trema-0.10.0
- old
+ new
@@ -52,10 +52,10 @@
"""ruby
class NullController < Trema::Controller; end
"""
When I run `trema run null_controller.rb -c invalid_trema.conf`
Then the exit status should not be 0
- Then the output should contain "uninitialized constant Phut::Syntax::Baz (NameError)"
+ Then the output should match /uninitialized constant .*::Baz \(NameError\)/
@sudo
Scenario: SyntaxError
Given a file named "invalid_trema.conf" with:
"""