Sha256: d7d94eb1ab50d57d9adc190802b37208c2d34fd2562bd9a326075ed7595ffbd0
Contents?: true
Size: 1.51 KB
Versions: 4
Compression:
Stored size: 1.51 KB
Contents
Feature: Filentory-cli works Scenario: App just runs When I get help for "filentory-cli" Then the exit status should be 0 And the banner should be present And there should be a one line summary of what the app does And the banner should document that this app takes options And the following options should be documented: |--version| |--type| |--auth| And the banner should document that this app's arguments are: |name|| |path|| |server|optional| Scenario: App prints JSON When I run "filentory-cli" for the test data Then I should get JSON as output And the "name" should be "testrun" And the "mediatype" should be "DVD" And there should be 4 entries in "files" And the first file should be placed in the root folder And the second file should be in the "folder" And the image file should have metadata And the video file should have metadata Scenario: Sending data to server When I run "filentory-cli" with a server parameter Then I should get a message that the data was send successfully Scenario: YAML file present while sending data to server When I run "filentory-cli" with a server parameter and a yaml file Then I should get a message that the data was send successfully And I should get a message that "mykey" was send with the JSON data Scenario: Server does not exist When I run "filentory-cli" with the wrong server parameter Then I should get a message that the data could not be sent
Version data entries
4 entries across 4 versions & 1 rubygems