summaryrefslogtreecommitdiff
path: root/spec/factories.rb
Commit message (Collapse)AuthorAgeFilesLines
* Add User#disable_two_factor!rs-disable-2faRobert Speicher2015-07-101-0/+1
| | | | | This method encapsulates all the logic for disabling 2FA on a specific User model.
* Add convenience methods to User for getting and setting 2FA statusRobert Speicher2015-06-191-1/+1
|
* Merge branch 'rs-manual-2fa-entry' into 'master'Dmitriy Zaporozhets2015-05-271-1/+1
|\ | | | | | | | | | | | | | | | | | | Add support for manually entering 2FA details > ![Screen_Shot_2015-05-22_at_6.39.26_PM](https://gitlab.com/gitlab-org/gitlab-ce/uploads/27b6cc0b2f88e0ccec234dd8d20db957/Screen_Shot_2015-05-22_at_6.39.26_PM.png) Related to #1679 though I'm not sure if it entirely fixes it, since I don't have access to a Windows Phone. See merge request !694
| * Bump secret key length to 32rs-manual-2fa-entryRobert Speicher2015-05-231-1/+1
| |
| * Add support for manually entering 2FA detailsRobert Speicher2015-05-231-1/+1
| |
* | Update ffaker gemRobert Speicher2015-05-201-8/+8
|/ | | | | | Adds a version requirement which it didn't have before, at 2.0.0. This version has breaking API changes in that the namespace is now `FFaker` instead of `Faker`.
* Add :two_factor trait to User factoryRobert Speicher2015-05-091-0/+7
|
* Merge pull request #9066 from jirutka/fix-6417Dmitriy Zaporozhets2015-05-031-0/+1
|\ | | | | Fix #6417: users with group permission should be able to create groups via API
| * Fix #6417: users with group permission should be able to create groups via APIRobert Schilling2015-03-311-0/+1
| |
* | Merge branch 'rs-remove-invalid-key-factories' into 'master'Dmitriy Zaporozhets2015-04-141-12/+0
|\ \ | | | | | | | | | | | | | | | | | | | | | Remove the invalid key factories They're only used once each, and they're easy to build in-place. See merge request !1766
| * | Remove the invalid key factoriesRobert Speicher2015-04-111-12/+0
| |/ | | | | | | They're only used once each, and they're easy to build in-place.
* | Add admin deploy keys tests.public-deploy-keysDouwe Maan2015-04-031-0/+3
|/
* Remove unneeded password_confirmation from seed.Ciro Santilli2014-12-281-1/+0
|
* Fix snippet factoryDmitriy Zaporozhets2014-12-121-2/+6
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Supporting for multiple omniauth provider for the same userValery Sizov2014-12-041-4/+18
|
* Merge tests to support Multiple LDAP groupsJan-Willem van der Meer2014-10-131-0/+5
|
* Fix adminarea and emails for new membership logicDmitriy Zaporozhets2014-09-151-2/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Huge replace of old users_project and users_group referencesDmitriy Zaporozhets2014-09-141-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Serialize services propertiesDrew Blessing2014-09-101-1/+0
|
* Fix project and notes specsDmitriy Zaporozhets2014-08-011-37/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix form mr testsDmitriy Zaporozhets2014-07-311-43/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix MR factory and some MR testsDmitriy Zaporozhets2014-07-311-62/+0
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Dont stub gitlab-shell calls. Make test environment closer to real oneDmitriy Zaporozhets2014-07-311-3/+1
|
* Enable snippets by default in project factoryDmitriy Zaporozhets2014-06-301-1/+2
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Implements drag and drop upload in creating issuesEarle Bunao & Neil Calabroso2014-05-231-1/+1
|
* Merge pull request #6557 from tsigo/faster-merge-request-featuresDmitriy Zaporozhets2014-03-191-1/+5
|\ | | | | Speed up features/notes_on_merge_requests_spec
| * Speed up features/notes_on_merge_requests_specRobert Speicher2014-03-191-1/+5
| | | | | | | | | | | | | | | | | | | | | | | | This spec featured the slowest tests in the entire suite. After some debugging, the cause was found to be the large commit diff generated by comparing the stable and master branches. To fix this, the seed repository was modified to create a simple branch off of master that consists of three simple commits and minor changes. The spec was then updated to compare master to this branch instead of stable. The result is a spec group that runs in under 30 seconds, down from about 90.
* | Add public/private/internal traits to :project FactoryRobert Speicher2014-03-191-0/+12
|/
* Blob and tree gfm links to anchors work.Ciro Santillli2014-02-231-0/+10
| | | | Fixes #6046
* Add email aliases for usersJason Hollingsworth2014-02-131-0/+13
| | | | | | | | Emails are used to associate commits with users. The emails are not verified and don't have to be valid email addresses. They are assigned on a first come, first serve basis. Notifications are sent when an email is added.
* Split the user ssh keys by newline, not the characters "\n"Johannes Schleifenbaum2014-02-111-0/+6
| | | | | | | | | | | | | | before: GET /user.keys ssh-rsa ...\nssh-rsa ...\nssh-rsa ... after: GET /user.keys ssh-rsa ... ssh-rsa ... sha-rsa ...
* Fix MR spinach testsDmitriy Zaporozhets2014-01-231-0/+33
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Make changes to testsDmitriy Zaporozhets2014-01-221-46/+11
| | | | | | | * project_with_code -> project * project -> ermpty_project Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Fix tests after user password length was changedDmitriy Zaporozhets2013-11-251-1/+1
| | | | Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
* Clear state in test satellite dir.Marin Jankovski2013-11-121-0/+1
|
* Speed up testsDmitriy Zaporozhets2013-10-171-4/+2
|
* Oauth users and users created by admin should be confirmed immediatlyDmitriy Zaporozhets2013-10-151-0/+4
|
* Ignore owner_id for Group in testsDmitriy Zaporozhets2013-09-261-1/+0
|
* Drop support of root namespace in routingHiroyuki Sato2013-09-131-0/+1
|
* Style changes from review with @randxIzaak Alpert2013-07-171-3/+3
| | | | | | -Some changes around calling origional methods for !for_fork? merge requests. Other changes to follow Change-Id: I009c716ce2475b9efa3fd07aee9215fca7a1c150
* Rebased on 6.0Izaak Alpert2013-07-171-4/+0
| | | | | | -Had to do some minor test clean up as well Change-Id: I8f378f1b5fe676d73b8691e870c11ca6def90cbf
* MR on fork: Email fixes, style fixesIzaak Alpert2013-07-171-1/+0
| | | | | | | | | -Removed many extra spaces I added -Fixed email templates to be consistent/better looking GITLAB-894, GITLAB-895, (GITLAB-858) Change-Id: I35c1a8e0e22af7de26d54e5c3da987fa7bb3921e
* Merge Request on forked projectsIzaak Alpert2013-07-171-12/+38
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The good: - You can do a merge request for a forked commit and it will merge properly (i.e. it does work). - Push events take into account merge requests on forked projects - Tests around merge_actions now present, spinach, and other rspec tests - Satellites now clean themselves up rather then recreate The questionable: - Events only know about target projects - Project's merge requests only hold on to MR's where they are the target - All operations performed in the satellite The bad: - Duplication between project's repositories and satellites (e.g. commits_between) (for reference: http://feedback.gitlab.com/forums/176466-general/suggestions/3456722-merge-requests-between-projects-repos) Fixes: Make test repos/satellites only create when needed -Spinach/Rspec now only initialize test directory, and setup stubs (things that are relatively cheap) -project_with_code, source_project_with_code, and target_project_with_code now create/destroy their repos individually -fixed remote removal -How to merge renders properly -Update emails to show project/branches -Edit MR doesn't set target branch -Fix some failures on editing/creating merge requests, added a test -Added back a test around merge request observer -Clean up project_transfer_spec, Remove duplicate enable/disable observers -Ensure satellite lock files are cleaned up, Attempted to add some testing around these as well -Signifant speed ups for tests -Update formatting ordering in notes_on_merge_requests -Remove wiki schema update Fixes for search/search results -Search results was using by_project for a list of projects, updated this to use in_projects -updated search results to reference the correct (target) project -udpated search results to print both sides of the merge request Change-Id: I19407990a0950945cc95d62089cbcc6262dab1a8
* Merge branch 'master' into 6-0-devDmitriy Zaporozhets2013-07-021-0/+7
|\ | | | | | | | | | | | | Conflicts: app/views/dashboard/projects.html.haml app/views/layouts/_head_panel.html.haml config/routes.rb
| * Ability to edit commentsJack Weeden2013-07-011-0/+7
| |
* | remove useless routing tests. Added symlink creation for project with codeDmitriy Zaporozhets2013-06-221-0/+7
| |
* | Fix broken factoryDmitriy Zaporozhets2013-06-221-1/+0
| |
* | Remove form for adding user to several projects from admin area.Dmitriy Zaporozhets2013-06-221-0/+1
|/ | | | Remove unnecessary projects order on User#show
* Merge branch 'gist' of https://github.com/Andrew8xx8/gitlabhq into ↵Dmitriy Zaporozhets2013-06-041-1/+15
|\ | | | | | | | | | | | | | | | | | | | | | | | | | | Andrew8xx8-gist Conflicts: Gemfile.lock app/models/ability.rb app/models/project.rb app/views/snippets/_form.html.haml db/schema.rb features/steps/shared/paths.rb spec/factories.rb spec/models/project_spec.rb
| * Personal snippet model addedAndrew8xx82013-03-251-0/+7
| |