-
Notifications
You must be signed in to change notification settings - Fork 9
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
65 additions
and
1 deletion.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
{ | ||
"spinach_features/scenario1.feature": 0.0019788742065429688, | ||
"spinach_features/scenario2.feature": 0.0014770030975341797 | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Feature: Test how spinach works for first test | ||
Scenario: Format greeting | ||
Given I have an empty array | ||
And I append my first name and my last name to it | ||
When I pass it to my super-duper method | ||
Then the output should contain a formal greeting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Feature: Test how spinach works for second test | ||
Scenario: Informal greeting | ||
Given I have an empty array | ||
And I append only my first name to it | ||
When I pass it to my super-duper method | ||
Then the output should contain a casual greeting |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,6 @@ | ||
Feature: Test how spinach works for second test | ||
Scenario: Informal greeting | ||
Given I have an empty array | ||
And I append only my first name to it | ||
When I pass it to my super-duper method | ||
Then the output should contain a casual greeting |
13 changes: 13 additions & 0 deletions
13
spinach_features/steps/test_how_spinach_works_for_first_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class Spinach::Features::TestHowSpinachWorksForFirstTest < Spinach::FeatureSteps | ||
step 'I have an empty array' do | ||
end | ||
|
||
step 'I append my first name and my last name to it' do | ||
end | ||
|
||
step 'I pass it to my super-duper method' do | ||
end | ||
|
||
step 'the output should contain a formal greeting' do | ||
end | ||
end |
13 changes: 13 additions & 0 deletions
13
spinach_features/steps/test_how_spinach_works_for_second_test.rb
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,13 @@ | ||
class Spinach::Features::TestHowSpinachWorksForSecondTest < Spinach::FeatureSteps | ||
step 'I have an empty array' do | ||
end | ||
|
||
step 'I append only my first name to it' do | ||
end | ||
|
||
step 'I pass it to my super-duper method' do | ||
end | ||
|
||
step 'the output should contain a casual greeting' do | ||
end | ||
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
require 'knapsack' | ||
|
||
Knapsack::Adapters::SpinachAdapter.bind |