summaryrefslogtreecommitdiff
path: root/spec
AgeCommit message (Collapse)Author
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
2014-05-18Update expectations for shallow cloneJohn Duarte
2014-05-18Set neg bare test to expect bare repoJohn Duarte
2014-05-18Fix typos in verify steps for revision testsJohn Duarte
2014-05-18Move git tests into sub-directoryJohn Duarte
2014-05-18Add beaker tests for git checkout for userJohn Duarte
2014-05-18Add beaker tests for git checkout for specified tagJohn Duarte
2014-05-18Add beaker tests for git shallow cloneJohn Duarte
2014-05-18Add beaker tests for git checkout for specified revisionJohn Duarte
2014-05-18Add beaker tests for git checkout for groupJohn Duarte
2014-05-18Add beaker tests for git compression checkoutsJohn Duarte
2014-05-18Add beaker test for git branch checkoutJohn Duarte
2014-05-18Add beaker tests for git createJohn Duarte
2014-05-18Add beaker tests for git cloneJohn Duarte
2014-05-18Use on(host, '') rather than host.execute('') syntaxJohn Duarte
2014-05-18Change apply syntax to apply_manifest_onJohn Duarte
2014-05-18Add test for git clone using sshJohn Duarte
2014-05-18Add test for git clone using httpsJohn Duarte
2014-05-18Add test for git clone using httpJohn Duarte
2014-05-18Add managehome to testuserJohn Duarte
In order to make sure that the home directory for the test user is created and destroyed, add managehome to the setup and teardown manifests for the testuser.
2014-05-18Move git daemon setup/teardown into context blockJohn Duarte
In order to ensure that the git daemon is running for the proper test, the setup and teardown calls for git daemon hav been moved into the context block for testing the git protocol.
2014-05-18Add test for git clone using file pathJohn Duarte
2014-05-18Add test for clone using git protocolJohn Duarte
2014-05-18Add spec for clone protocols skeletonJohn Duarte
The git_clone_protocols_spec.rb will be used to enumerate over the available protocols for git to use to clone to disk. The initial skeleton includes the 'file://' protocol test as well as support key files to be used later.
2014-05-16Added multiline parsing tests for branch -aTravis Fields
2014-05-15Fix spec testsTravis Fields
2014-05-15Fix detached head stateTravis Fields
2014-05-13Fix issue where force=>true was not destroying repository then recreatingTravis Fields
2014-05-12Add test for ensure latest with branch specifiedJohn Duarte
2014-04-03fix tabbing in vcsrepo testIgor Galić
2014-04-02add beaker-rspec supportPhil Pham
This adds support for beaker-rspec as well as basic test coverage for git
2014-01-11git: actually use the remote parameterMiguel Di Ciurcio Filho
When using the following sample, the provider does not use the value of remote when cloning a repository: vcsrepo {'/path/to/repo': ensure => 'present', provider => 'git', remote => 'test', source => 'git@somerepo:repo.git', } $ git remote origin This commit makes sure that the new repository has a remote with the supplied value. Closes #MODULES-430
2014-01-07Add the option to shallow clones with gitFelipe Reyes
The new parameter used to indicate that you want a shallow clone is `:depth`
2013-12-04Stripping git on_branch? return value; contains trailing newlineMike Gerwitz
This commit also contains git provider `latest' method formatting changes; squashed by request.
2013-12-02Using rev-parse to determine branch name of HEAD for on_branch? methodMike Gerwitz
2013-09-18Add convert_working_copy_to_bear and convert_bare_to_working_copy tests.Ashley Penney
2013-09-18Add tests for convert_working_copy_to_bare andAshley Penney
convert_bare_to_working_copy
2013-09-18Add latest tests.Ashley Penney
2013-09-18Add test for latest?Ashley Penney
Also add some fixtures for previous tests.
2013-09-18Overhaul the spec tests to work in rspec2.Ashley Penney
This work gets rid of the provider_example_group and reworks everything to work properly against rspec2. I don't know if I'd consider the style "better" but it works.
2013-08-28update git provider to handle checking out into an existing (empty) dirJohn Iacona
2013-08-12And fix the rspec test to pass.Michael Arnold
2013-07-25Handle revision update without source switch.Aaron Stone
2013-07-25Update specs for svn switchAaron Stone
2013-07-19Add support for master svn repositories5Ub-Z3r0
Pull request related to issue #8331. I have added support into the exists? method (actually working_copy_exists?) for checking if the path is a master repository, using svnlook. It should be ok in most cases, since svnlook comes with svnadmin in nearly every distribution.
2013-07-17Merge pull request #46 from Paulche/masterAaron Stone
Enable unlimited nesting for submodule updating