Sha256: 8d2537abf5accedeab1de13c52931a797104c84b164d6fe2dbba549d579773cc

Contents?: true

Size: 1.03 KB

Versions: 1

Compression:

Stored size: 1.03 KB

Contents

Feature: The binary interface for fixbraces works
  In order to be sure that the cli version of the gem works
  The developer will need to make sure that these tests pass

  Scenario: Run the app on a single file
    Given a single source file called MasterViewController.m
    When I run `fixbraces MasterViewController.m`
    Then MasterViewController.m should be formatted correctly
    Then the output should contain "MasterViewController.m"
    And the exit status should be 0

  Scenario: Run the app on a directory
    Given an Xcode project
    When I run `"fixbraces ."`
    Then the files in the directory should be formatted correctly
    And the exit status should be 0

  Scenario: Run the app on a number of files in the directory
    Given an Xcode project
    When I run `"fixbraces FixbracesTestProject/*.m"`
    Then the .m files in that directory are changed
    And the changed files should be listed
    And there should not be any .h files listed
    And the .h files in that directory are unchanged
    And the exit status should be 0

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
fixbraces-1.1.0 features/fixbraces.feature