summaryrefslogtreecommitdiff
path: root/spec/acceptance/clone_repo_spec.rb
AgeCommit message (Collapse)Author
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-01-14Remove let use as variable.Hunter Haugen
Since lets can't be used in before :all any more.
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-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-06-27Patch misuse of apply_manifest_onHunter Haugen
2014-06-26Update noop to workHunter Haugen
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-05-19Merge pull request #137 from johnduarte/git_ensure_latestAshley Penney
Add test for ensure latest with branch specified
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-12Add test for ensure latest with branch specifiedJohn Duarte
2014-04-02add beaker-rspec supportPhil Pham
This adds support for beaker-rspec as well as basic test coverage for git