Sha256: 19e9d15f9abfbf73d371f032f32b7b74034476686ffb950717be6d5527a7f377

Contents?: true

Size: 662 Bytes

Versions: 3

Compression:

Stored size: 662 Bytes

Contents

Feature: File based mutexes

  Automated processes need locking to prevent recursion on long running commands

  Scenario: Process runs with no lock file present
    Given a Ruby source file that uses Mutagem::Mutex named "test.rb"
    When I run "ruby test.rb"
    Then the exit status should be 0
    And the output should contain:
      """
      hello world
      """

  Scenario: Process runs with a lock file present
    Given a Ruby source file that uses Mutagem::Mutex named "test.rb"
    When I run with a lock file present "ruby test.rb"
    Then the exit status should be 1
    And the output should not contain:
      """
      hello world
      """

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
mutagem-0.2.4 features/mutex.feature
mutagem-0.2.3 features/mutex.feature
mutagem-0.2.2 features/mutex.feature