summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2014-07-14(maint) Use `copy_module_to` in `beaker_helper.rb`Justin Stoller
Previously we were using `puppet_module_install()`. Which was ported from Beaker-RSpec. Unfortunately for our heros that method has been refactored since this was ran last. The method `puppet_module_install()` in Beaker installs from the public forge, while the previous behavior, installing via scp from the current directory, has moved to the method `copy_module_to`. This updates the helper for the beaker tests to use the updated method.
2014-07-11The helper calls host outside of an each loopHunter Haugen
2014-07-11(MODULES-660) Correct detached HEAD on latestHunter Haugen
Previously vcsrepo detached HEAD on checkout which caused further branch revisions to fail. This corrects the behavior, and works on git 1.7, 1.8, 1.9, and 2.0
2014-07-03(MODULES-1014) Add rspec for noop modePeter Souter
2014-06-30Merge pull request #171 from p4paul/masterHunter Haugen
Basic Perforce provider
2014-06-27Patch misuse of apply_manifest_onHunter Haugen
2014-06-27Merge pull request #176 from hunner/patch_noopHunter Haugen
Update noop to work
2014-06-27Calculate client workspace name for test casePaul Allen
(The value of host will be different)
2014-06-27Clear P4CLIENT Environment before testPaul Allen
2014-06-26Update noop to workHunter Haugen
2014-06-25Sync filesColleen Murphy
2014-06-24Sort keys on hash generate same test result.Paul Allen
Keys in the Client spec were processed out of order and failing tests.
2014-06-23Added support for basic authentication to hg providerStuart Whelan
Updated unit tests Updated hg readme and added examples
2014-06-23Add hostname to Digest for default client name.Paul Allen
2014-06-23Added support for p4config.Paul Allen
- Removed p4port, p4client, p4user to keep name space clean. - Changed notify to Puppet.debug - Updated markdown and examples - Updated unit tests
2014-06-20Detab to 2 spaces.Paul Allen
2014-06-20Spec tests for p4 providerPaul Allen
Test create, destroy and exists? access points.
2014-06-18(QENG-798) Update acceptance helpers to create distmoduledirJustin Stoller
Previously we were creating the module dir on foss installs, but not on PE. PE agents do not have a module dir deployed as part of the base PE install, so to test on PE agents we need to create the module dir. `mkdir -p` is idempotent, so we use it as a cudgle here. We also update the beaker_helper and spec_helper_acceptance to contain the same installation steps for test dependencies, warnings, and installation methods.
2014-06-18Define group in clone_repo_spec testJohn Duarte
A matching group is not added for a user when added on SLES 11. This commit adds a group to the setup manifests in order to ensure that the proper group is added to the system during the test preparation.
2014-06-18Pending overflow depth testHunter Haugen
This test is pending as git cannot handle the overflow correctly, though vcsrepo handles it fine.
2014-06-16Accomodate ubuntu-10 package for git in beaker testsJohn Duarte
Add conditional to install `git-core` if the platform under test is ubuntu-10. The `git` package is not available for this platform.
2014-06-16Change tests to not install git-daemon on debianJohn Duarte
The git-daemon is not a valid package on debian based systems. Update tests to not try installing git-daemon on debian systems.
2014-06-16Correct shallow clone countHunter Haugen
The manifest is set to clone at a depth of 1, but checks for a shallow depth of 2. It should either checkout a depth of 2, or only check for a depth of 1. This commit makes it check for a depth of 1
2014-06-16Correct gitconfig typoHunter Haugen
2014-06-16More typosHunter Haugen
2014-06-16Fix typo in mkdirHunter Haugen
2014-06-16Need to make the moduledir before scping the module to agentsHunter Haugen
2014-06-16Patch beaker spec helper for create_remote_fileHunter Haugen
2014-05-27Update tests for ubuntu 14.04Hunter Haugen
In ubuntu 14.04 git 1.9.1 is the default version, and 1.9+ fatally fail if the user.email and user.name are not set (previously it would just warn). This commit sets those up so the tests will actually run.
2014-05-22Set git bare with revision test to failJohn Duarte
When the revision attribute is defined in conjunction with the bare attribute when using the git provider, the repo should fail to be written to disk. See: FM-1361
2014-05-21Update specs and fix FM-1361Hunter Haugen
- Add install.rb for pre-suite - Add catches for failures/changes to manifest application - Correct root ssh key copying - Add sleeps for killing processes releasing ports - Fix FM-1361
2014-05-19Move protocol tests to beaker suiteJohn Duarte
The protocol tests are more closely aligned with the rest of the beaker test suite. The beaker tests have received more vetting, so the setup and teardown process should be less prone to failure on repeated execution.
2014-05-19Merge pull request #137 from johnduarte/git_ensure_latestAshley Penney
Add test for ensure latest with branch specified
2014-05-19Merge pull request #141 from johnduarte/beaker_testsAshley Penney
Add beaker tests to complete test plan
2014-05-19Merge pull request #142 from johnduarte/add_vagrant_userAshley Penney
Ensure vagrant user/group for non-vagrant testing
2014-05-19Ensure vagrant user/group for non-vagrant testingJohn Duarte
These tests assert the vagrant user and group. When testing on non-vagrant systems these tests will fail. Ensure that the user/group are present in order to allow the tests to pass on other systems.
2014-05-18Skip exec excludes until expectations are definedJohn Duarte
2014-05-18Skip HTTP basic auth (see FM-1331)John Duarte
2014-05-18Fix git daemon callJohn Duarte
2014-05-18Fix exec for clone with excludes testJohn Duarte
2014-05-18Skip tests for unsupported featuresJohn Duarte
2014-05-18Fix calls to rubyJohn Duarte
2014-05-18Use sinatra to set up basic auth HTTP serverJohn Duarte
2014-05-18Add conditional ruby path based on peJohn Duarte
2014-05-18Add beaker tests for git basic authJohn Duarte
2014-05-18Fix exec test for cloneJohn Duarte
2014-05-18Fix exec test for compressionJohn Duarte
2014-05-18Fix exec test for shallow cloneJohn Duarte
2014-05-18Fix root path depth for negative shallow testsJohn Duarte
2014-05-18Add tests git using ssh scp syntaxJohn Duarte