summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
2015-08-17MODULES-2326 - Run Regexp.escape on the source URLMorgan Haskel
The URL can have special characters, making the regex match fail.
2015-08-14MODULES-2125 - Allow revision to be passed without sourceMorgan Haskel
Will also work with empty repositories.
2015-08-03MODULES-1800 - fix case where ensure => latest and no revision specifiedMorgan Haskel
This would explode when revision was unspecified when you were on a branch. Use the branch you're currently on when updating.
2015-06-29Merge pull request #242 from BillWeiss/bump-ssl-expiryHunter Haugen
Make sure the embedded SSL cert doesn't expire
2015-06-22Merge pull request #255 from jonnytpuppet/depth_fixDavid Schmitt
MODULES-2131 Git provider now takes account of revision property when using depth property.
2015-06-22MODULES-2131 Git provider now takes account of revision property when using ↵Jonathan Tripathy
depth property.
2015-06-19Merge pull request #252 from DavidS/add-https-clone-testJT (Jonny)
acceptance: Add a test verifying anonymous https cloning
2015-06-11Add helper to install puppet/pe/puppet-agentHunter Haugen
2015-06-08(maint) allow setting PUPPET_VERSION in acceptanceJustin Stoller
2015-05-29acceptance: Add a test verifying anonymous https cloningDavid Schmitt
In MODULES-891 the question arose whether https sources are supported. This test shows that it works.
2015-04-08Just bumping the expiration date...Bill Weiss
2015-03-30Merge pull request #220 from ddisisto/1.2.x_add_svn_acceptTP Honey
Add support for 'conflict' parameter to populate svn --accept arg
2015-03-25Fix remote hash ordering for unit testsColleen Murphy
Without this commit, the unit tests for the git provider changing multiple remotes mocks the remotes in a particular order. While in practice it doesn't matter which remote the update_remotes method updates first, the unit tests must be able to mock them in the correct order. For ruby 1.8.7, a Hash will not necessarily produce key value pairs in the same order on each run, which causes intermittent failures in the unit tests. This change sorts the :source property values before trying to update them, and updates the unit tests to expect the values in alphabetical order.
2015-03-06(MODULES-1551) Add support for SVN conflict handlingDaniel DiSisto
2015-01-21Implemented multiple remotes feature for git provider.Jonathan Tripathy
2015-01-14Remove let use as variable.Hunter Haugen
Since lets can't be used in before :all any more.
2015-01-13removing private teststphoney
removing private tests, due to rspec3 not handling private methods
2014-12-26MODULES-1596 - Repository repeatedly destroyed/created with forceMorgan Haskel
The `retrieve` method was calling `create` and `destroy` on every run with `force => true`. Retrieve should not be making any changes to the system, so removed that code, and updated `working_copy_exists` to make sure that the directory not only contains a `.git` directory, but also if `source` is specified it also matches `#{path}/.git/config` so that it will overwrite a git repo with a different source. Updated tests to not check for the old broken behavior. Added a regression test.
2014-10-29Add spec test for invokation as a different userJon Fautley
2014-10-29Rework spec tests to support new execution methodJon Fautley
2014-10-21Merge pull request #210 from igalic/transpecAaron Stone
Convert specs to RSpec 2.99.2 syntax with Transpec
2014-10-16(FM-1951) Ensure Git is installable on EL 5 platformsJustin Stoller
Git is not installed on EL 5, but it is not in the repos either. With this patch, if we are going to install git on an EL 5 platform we first ensure epel is installed(FM-1951) Ensure Git is installable on EL 5 platforms
2014-09-29Convert specs to RSpec 2.99.2 syntax with TranspecIgor Galić
This conversion is done by Transpec 2.3.7 with the following command: transpec * 22 conversions from: it { should ... } to: it { is_expected.to ... } * 19 conversions from: obj.should to: expect(obj).to * 15 conversions from: == expected to: eq(expected) * 5 conversions from: it { should_not ... } to: it { is_expected.not_to ... } * 2 conversions from: its(:attr) { } to: describe '#attr' do subject { super().attr }; it { } end * 2 conversions from: obj.should_not to: expect(obj).not_to * 2 conversions from: proc { }.should to: expect { }.to * 1 conversion from: be_false to: be_falsey * 1 conversion from: be_true to: be_truthy For more details: https://github.com/yujinakayama/transpec#supported-conversions
2014-09-17Remove excess whitespaceAaron Stone
2014-09-16Merge pull request #208 from sodabrew/simplecov_not_1.8.7Hunter Haugen
Disable simplecov on Ruby 1.8.7
2014-09-15Merge branch '1.1.x'Hunter Haugen
2014-09-14Disable simplecov on Ruby 1.8.7Aaron Stone
2014-09-10Fix issue with puppet_module_install, removed and using updated method from ↵Travis Fields
beaker core copy_module_to
2014-08-28Update spec_helper for more consistencyMorgan Haskel
2014-07-14Merge branch 'master' into 1.0.xHunter Haugen
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-14Merge pull request #187 from p4paul/masterHunter Haugen
Update Markdown with missing Perforce details.
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-08Merge merge lint changesPaul Allen
2014-07-03(MODULES-1014) Add rspec for noop modePeter Souter
2014-07-02Update Markdown with missing Perforce details.Paul Allen
Fix tabs/spaces in p4.rb
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.