Sha256: 89a843449020ac74eb91306d4785f6253bc9ece49c903719db61267fad42788f
Contents?: true
Size: 1.25 KB
Versions: 8
Compression:
Stored size: 1.25 KB
Contents
Feature: Trema::Controller#logger.info Background: Given a file named "hello.rb" with: """ruby class Hello < Trema::Controller def start(_args) logger.info '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 "INFO -- : Konnichi Wa" @sudo Scenario: --logging_level info When I run `trema run hello.rb --logging_level info` 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 "INFO -- : 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 "INFO -- : 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 "INFO -- : Konnichi Wa"
Version data entries
8 entries across 8 versions & 1 rubygems