Skip to content

Commit

Permalink
Added tests for symbol loading
Browse files Browse the repository at this point in the history
  • Loading branch information
Dylan Ratcliffe committed Apr 5, 2018
1 parent 9c0d5c0 commit 1c41d8c
Show file tree
Hide file tree
Showing 2 changed files with 13 additions and 10 deletions.
20 changes: 10 additions & 10 deletions features/run.feature
Original file line number Diff line number Diff line change
Expand Up @@ -18,16 +18,6 @@ Feature: Run rspec and acceptance test suites
When I run onceover command "run spec"
Then I should see error with message pattern "The module acme-not_exists does not exist"

Scenario: Run advanced spec tests
Given control repo "puppet_controlrepo"
When I run onceover command "run spec"
Then I should not see any errors

Scenario: Check that control_branch functionality works
Given initialized control repo "control_branch"
When I run onceover command "run spec"
Then the temporary Puppetfile should contain the git branch

Scenario: Run with local modifications
Given initialized control repo "basic"
When I run onceover command "run spec"
Expand All @@ -42,6 +32,16 @@ Feature: Run rspec and acceptance test suites
And I run onceover command "run spec --force"
Then I should see message pattern "Overwriting local modifications"

Scenario: Run advanced spec tests
Given control repo "puppet_controlrepo"
When I run onceover command "run spec"
Then I should not see any errors

Scenario: Check that control_branch functionality works
Given initialized control repo "control_branch"
When I run onceover command "run spec"
Then the temporary Puppetfile should contain the git branch

Scenario: Mocking functions should work and return the correct data types
Given control repo "function_mocking"
When I run onceover command "run spec"
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,6 @@ functions:
type: rvalue
returns:
foo: bar

opts:
:debug: true

0 comments on commit 1c41d8c

Please sign in to comment.