summaryrefslogtreecommitdiff
path: root/spec
Commit message (Collapse)AuthorAgeFilesLines
...
* Put authorized_keys.lock in the .ssh directoryJacob Vosmaer2014-05-301-1/+12
|
* Use lock file when add or remove keys from authorized_keys fileDmitriy Zaporozhets2014-04-181-0/+36
| | | | | | This prevents concurrent modification of authorized_keys file Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Invoke IO.popen correctly for Ruby 1.9.3Jacob Vosmaer2014-04-151-1/+1
| | | | | Before this change, tests in gitlab_projects_spec were passing on Ruby 2.0.0 but not on 1.9.3.
* Fix testsDmitriy Zaporozhets2014-04-148-126/+66
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add gitlab-keys batch-add-keysJacob Vosmaer2014-03-141-0/+42
| | | | | This command is intended to be called by the GitLab Rails code when restoring an application backup.
* Dont import repo if existsDmitriy Zaporozhets2014-03-131-0/+9
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use large repo instead one with promptDmitriy Zaporozhets2014-03-121-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* change seed repoDmitriy Zaporozhets2014-03-121-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Add support for import repo timeoutDmitriy Zaporozhets2014-03-121-8/+29
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Use less shell commands in gitlab_projects_spec.rbJacob Vosmaer2014-03-071-2/+2
|
* Use IO.popen instead of Kernel#` to read refsJacob Vosmaer2014-03-071-8/+12
|
* Make GitlabProjects#create_hooks a class methodJacob Vosmaer2014-02-261-2/+2
|
* Stub file writing in testsJacob Vosmaer2013-11-251-6/+11
|
* Fix return values in GitlabKeysJacob Vosmaer2013-11-201-4/+23
|
* Refactor file writing testsJacob Vosmaer2013-11-201-33/+34
|
* More file writing tests for GitlabKeysJacob Vosmaer2013-11-051-27/+33
|
* Remove sed invocation from GitlabKeysJacob Vosmaer2013-11-021-5/+10
|
* Bypass the shell in GitlabProjectsJacob Vosmaer2013-11-011-2/+2
|
* Refactor hook creation in GitlabProjectsJacob Vosmaer2013-11-011-2/+3
|
* Merge branch 'puts_instead_of_echo' of ↵Dmitriy Zaporozhets2013-10-311-2/+5
|\ | | | | | | /home/git/repositories/gitlab/gitlab-shell
| * Use Kernel#open to append lines to authorized_keysJacob Vosmaer2013-10-311-2/+5
| |
* | Execute command directly without using shellFrançois Bobot2013-09-161-2/+2
|/ | | | use Shellwords.shellwords for splitting origin_cmd instead of .split(' ')
* Remove empty post-receive hookJacob Vosmaer2013-07-191-2/+0
|
* Use Tempfile instead of `sed -i`Jacob Vosmaer2013-07-191-1/+4
| | | | | | The syntax for `sed -i` is incompatible between GNU sed and BSD sed. By Tempfile from the Ruby standard library we can avoid using the `-i` option of sed.
* Merge pull request #69 from ↵Dmitriy Zaporozhets2013-07-081-0/+68
|\ | | | | | | | | thomasbiddle/support_adding_and_removing_branches_and_tags Support adding and removing branches and tags
| * Adding tests for the addition of create-branch, create-tag, rm-branch, rm-tagTJ Biddle2013-06-201-0/+68
| | | | | | | | | | The previous commit has the code addition to support adding and removing branches and tags in a repository - This commit ensures basic test cases are supported.
* | Update head featureDmitriy Zaporozhets2013-06-101-0/+21
| |
* | Allow administrators to log users by key id (faster) or by username (clearer).ash2013-05-181-2/+9
| |
* | Use :warn instead of :error for invalid commands.ash2013-05-182-4/+4
| |
* | Specs for logging in gitlab-shell.ash2013-05-181-0/+26
| |
* | Specs for logging during failure cases of fork-project.ash2013-05-181-1/+15
| |
* | Specifications for the 'bad paths' in mv-projects, and logging.ash2013-05-181-0/+20
| |
* | Add logging specs for gitlab-keys.ash2013-05-171-0/+21
| |
* | Specs for logging in gitlab_projects.ash2013-05-171-1/+40
|/
* Fix tests and version up to 1.4.0v1.4.0Dmitriy Zaporozhets2013-04-301-1/+1
|
* improve tests for forking from namespacesAngus MacArthur2013-04-161-5/+5
| | | | Change-Id: I0c343c03ee3f033641f9958030ac57d92296547d
* additional fork check and enhanced testsAngus MacArthur2013-04-161-6/+17
|
* more fixes for pull reuestAngus MacArthur2013-04-161-2/+2
| | | | Change-Id: I1b3d64d79187c414e326928a96427d1cc6176224
* fork fixes for upstream pullAngus MacArthur2013-04-161-3/+10
| | | | Change-Id: Ia48a93ccbfea6fdc0791ce25cf3e6291bfe7fa08
* add fork_project commandAngus MacArthur2013-04-111-1/+12
|
* Randomize config.repos_path in testsChristian Höltje2013-03-151-3/+5
|
* Verify GL_ID environment variable is set.Christian Höltje2013-03-151-4/+9
| | | | This also randomizes the key_id used in the tests.
* Use Kernel::exec instead of system()Christian Höltje2013-03-151-1/+13
| | | | | We don't need to keep the ruby process around once we've established that it's ok to run a git command.
* Cleaned up gitlab_shell_specChristian Höltje2013-03-151-30/+60
| | | | | | * Used mocks to test if methods are colled * Increased coverage * Removed duplication and excess verbage
* mv-project feature addedDmitriy Zaporozhets2013-03-121-0/+15
|
* tests added: GitlabNet check, GitlabProject execDmitriy Zaporozhets2013-03-113-0/+65
|
* test GitlabKeys execDmitriy Zaporozhets2013-03-111-19/+35
|
* remove personal info from vcrDmitriy Zaporozhets2013-03-111-2/+1
|
* test for GitlabNet discoverDmitriy Zaporozhets2013-03-112-9/+67
|
* cover denied context for GitlabNetDmitriy Zaporozhets2013-03-113-8/+118
|