Sha256: 77faaab95c7786dd550fc64f3d79e482957f15a26b89eeeccc2fbbd80fb5e8e2

Contents?: true

Size: 672 Bytes

Versions: 3

Compression:

Stored size: 672 Bytes

Contents

@announce
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.1 features/mutex.feature
mutagem-0.2.0 features/mutex.feature
mutagem-0.1.3 features/mutex.feature