Sha256: becacf264f2cbd1cdef7503f16101f37ed453e98dc7acad9c759cb36de64dca7

Contents?: true

Size: 1.17 KB

Versions: 6

Compression:

Stored size: 1.17 KB

Contents

Feature: Run
  As a user, when I run the app (w/ or w/o flags), I
  should have the correct content be placed in the correct
  files.
      
  Scenario: Run with no flags
    Given a file located at "/tmp/expandsync/input/atext.csv"
    When I successfully run `expandsync /tmp/expandsync/input/atext.csv`
    Then "~/aText-snippets.csv" should exist
      And "~/Dropbox/TextExpander/Settings.textexpander" should exist
      And Settings.textexpander should be backed up

  Scenario: Run with -a flag
    Given a file located at "/tmp/expandsync/input/atext.csv"
    When I run `expandsync -a /tmp/expandsync/output/aText-output.csv /tmp/expandsync/input/atext.csv`
    Then "/tmp/expandsync/output/aText-output.csv" should exist
      And "~/Dropbox/TextExpander/Settings.textexpander" should exist
      And Settings.textexpander should be backed up

  Scenario: Run with -n flags
    Given a file located at "/tmp/expandsync/input/atext.csv" 
    When I successfully run `expandsync -n /tmp/expandsync/input/atext.csv`
    Then "~/aText-snippets.csv" should exist
      And "~/Dropbox/TextExpander/Settings.textexpander" should exist
      And Settings.textexpander should not be backed up

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
expandsync-0.2.2 features/2.run.feature
expandsync-0.2.1 features/2.run.feature
expandsync-0.2.0 features/2.run.feature
expandsync-0.1.3 features/2.run.feature
expandsync-0.1.2 features/2.run.feature
expandsync-0.1.1 features/2.run.feature