Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Moved regression test into its appropriate place

  • Loading branch information...
commit 62c197552aa6c5616cb4c0eabeb76a618102eed8 1 parent b02d2f7
Ian Lesperance authored
View
1  features/license_finder.feature
@@ -34,4 +34,3 @@ Feature: License Finder command line executable
When I run "license_finder"
Then it should exit with status code 0
And I should see "All gems are approved for use" in its output
-
View
13 features/regressions.feature
@@ -1,13 +0,0 @@
-Feature: Catch Regressions!
-
- Scenario: Generating dependencies multiple times should not lose information
- Given I have an app with license finder
- And my application depends on a gem "descriptive_gem" with:
- | license | version |
- | MIT | 1.1.1 |
- When I run "license_finder"
- When I run "license_finder"
- Then I should see the file "dependencies.txt" containing:
- """
- descriptive_gem, 1.1.1, MIT
- """
View
14 features/text_report.feature
@@ -3,7 +3,7 @@ Feature: Text Report
As a non-technical application product owner
I want license finder to generate an easy-to-understand text report
- Scenario: Generating dependencies multiple times should not lose information
+ Scenario: Viewing dependencies
Given I have an app with license finder
And my application depends on a gem "descriptive_gem" with:
| license | version |
@@ -13,3 +13,15 @@ Feature: Text Report
"""
descriptive_gem, 1.1.1, MIT
"""
+
+ Scenario: Viewing dependencies after multiple runs
+ Given I have an app with license finder
+ And my application depends on a gem "descriptive_gem" with:
+ | license | version |
+ | MIT | 1.1.1 |
+ When I run "license_finder"
+ And I run "license_finder"
+ Then I should see the file "dependencies.txt" containing:
+ """
+ descriptive_gem, 1.1.1, MIT
+ """
Please sign in to comment.
Something went wrong with that request. Please try again.