Sha256: c505b0deda1f5a2d35b5bbc6ce50c45c3b78d75aca33015fc0a4dc5b44e3caf9
Contents?: true
Size: 1.26 KB
Versions: 8
Compression:
Stored size: 1.26 KB
Contents
Feature: Trema::Controller#logger.error Background: Given a file named "hello.rb" with: """ruby class Hello < Trema::Controller def start(_args) logger.error 'Konnichi Wa' end end """ @sudo Scenario: the default logging level When I trema run "hello.rb" interactively And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "ERROR -- : Konnichi Wa" @sudo Scenario: --logging_level error When I run `trema run hello.rb --logging_level error` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "ERROR -- : Konnichi Wa" @sudo Scenario: -v When I run `trema -v run hello.rb` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "ERROR -- : Konnichi Wa" @sudo Scenario: --verbose When I run `trema --verbose run hello.rb` interactively And I run `sleep 3` And I trema killall "Hello" Then the output should contain "Konnichi Wa" And the file "Hello.log" should contain "ERROR -- : Konnichi Wa"
Version data entries
8 entries across 8 versions & 1 rubygems