Welcome to mirror list, hosted at ThFree Co, Russian Federation.

gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2015-09-06Fix emoji URLs in Markdown when relative_url_root is usedStan Hu
Also adds the ability to run rspecs with relative_url_defined on the enviornment. For example: RELATIVE_URL_ROOT=/gitlab rspec Closes #1728
2015-09-02Drone CI serviceKirilll Zaitsev
2015-08-21Fix markdown specs again. Apparently development and test behave differently.Douwe Maan
2015-08-21Fix markdown specs.Douwe Maan
2015-08-20Add stub_reply_by_email_setting helper.Douwe Maan
2015-08-20Add fixture_file helper.Douwe Maan
2015-08-14Refactor pre/post receive commit services into one classDmitriy Zaporozhets
2015-08-14Fix tests for web editorDmitriy Zaporozhets
2015-08-14Disable pre-receive check in test envDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-11Revert "Merge branch 'revert-satellites' into 'master' "Dmitriy Zaporozhets
This reverts commit 5daf44b7c86e0e2641a902b1da8b01d91fa3dbfa, reversing changes made to 2f706fbd231cabe7a76a5d17ac44285aaaf8592c.
2015-08-11Revert "Merge branch 'drop-satellites'"Dmitriy Zaporozhets
This reverts commit 957e849f41d96fa9778fcdd06792d2f0274b29ab, reversing changes made to 6b9dbe9f5a175a8162abf296367f561bab3eea1a. Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-07Add `Group#add_*` convenience methodsRobert Speicher
Encapsulates the logic for `Gitlab::Access::WHATEVER` levels.
2015-08-04Merge branch 'master' into drop-satellitesDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-08-03Merge branch 'master' of github.com:gitlabhq/gitlabhqDmitriy Zaporozhets
2015-07-29Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵Jacob Vosmaer
backup-archive-permissions
2015-07-29Fix setup/teardown for Markdown feature specRobert Speicher
Prior, CI seemed to be freezing after running these specs.
2015-07-29Update Markdown feature to allow for multiple pipelinesRobert Speicher
2015-07-29Move MarkdownFeature to its own support fileRobert Speicher
This file's about to get much bigger and this removes some of the extra noise.
2015-07-27Merge branch 'master' of dev.gitlab.org:gitlab/gitlabhq into ↵Jacob Vosmaer
backup-archive-permissions
2015-07-26Fix commit data retrieval when branch name has single quotesStan Hu
Closes #1724
2015-07-24Use a separate backup test directory and nuke its contentsJacob Vosmaer
2015-07-22Merge branch 'rs-security-spec-speed' into 'master' Douwe Maan
Speed up security feature specs Before: `rspec spec/features/security/ 0.12s user 0.04s system 0% cpu 3:38.00 total` After: `rspec spec/features/security/ 0.12s user 0.04s system 0% cpu 1:40.58 total` The majority of the speed improvements is from two things: 1. Instead of using our standard `login_as` helper in the matchers, we take advantage of the `Warden::Test::Helpers` version of the method which bypasses the login form and logs the user in directly. We were essentially testing that filling out the login form works hundreds of times. 2. There were many tests that verified if a user of a certain access level (master, owner, reporter, guest) had access to a resource. Unfortunately we were creating every type of user for each test even though a test was only verifying one of them at a time. Now the tests only create the one user role they're testing. See merge request !1023
2015-07-22Move custom matchers to their own files under spec/support/matchersRobert Speicher
2015-07-22Move access-related matchers to their own moduleRobert Speicher
2015-07-22Remove unused `be_valid_commit` matcherRobert Speicher
2015-07-22Fix 404 error in files view after deleting the last file in a repositoryStan Hu
Closes #1362
2015-07-16Fix some of testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-07-14Merge branch 'rs-fix-coverage' into 'master'Dmitriy Zaporozhets
Move coverage-related setup back to spec_helper These tools must be loaded before our regular Rails environment. Partially reverts 57830201a9152b56ccf65a98275601617f44653d See merge request !976
2015-07-14Move coverage-related setup back to spec_helperRobert Speicher
These tools must be loaded before our regular Rails environment.
2015-07-14Rename `notice_added_references` to `create_new_cross_references!`Robert Speicher
2015-07-07Use stub_application_setting in a few more specsRobert Speicher
These specs also failed when run by themselves before this change, so we've likely got some kind of cross-test contamination going on.
2015-07-01Fix ApplicationHelper specsRobert Speicher
There were several specs that were failing when run by themselves. - Use the `helper` object, as per RSpec 3 standards - Use `assign` to assign instance variables that helpers expect - Add `StubConfiguration` support module
2015-07-01Add spec/support/factory_girlRobert Speicher
Just for consistency with our Capybara, DatabaseCleaner, WebMock, etc. setups.
2015-06-23Fix rubocop issues after merge of recent masterDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2015-06-23Merge branch 'master' into rubocop-for-testsDmitriy Zaporozhets
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com> Conflicts: spec/features/issues_spec.rb spec/models/forked_project_link_spec.rb spec/models/hooks/service_hook_spec.rb spec/models/hooks/web_hook_spec.rb spec/models/project_services/hipchat_service_spec.rb spec/requests/api/project_members_spec.rb spec/requests/api/projects_spec.rb spec/requests/api/system_hooks_spec.rb spec/services/archive_repository_service_spec.rb spec/support/matchers.rb spec/tasks/gitlab/backup_rake_spec.rb
2015-06-23Fix Style/NonNilCheck cop violationsStan Hu
2015-06-22Fix Style/HashSyntax violationsRobert Speicher
2015-06-22Fix Style/Not cop violationsRobert Speicher
2015-06-22Add sleep call before yield in allowing_for_delayRobert Speicher
This is to give pending AJAX requests time to complete before we navigate away, for example.
2015-06-22Remove junk from db_cleaner spec support fileRobert Speicher
2015-06-22Move CapybaraHelpers to its own support fileRobert Speicher
In case we end up wanting to use it in Spinach as well.
2015-06-22Replace remaining references to `Note.create_cross_reference_note`Robert Speicher
2015-06-22Update spec/features/security specsRobert Speicher
2015-06-22Update mock and stub syntax for specsRobert Speicher
2015-06-22Fix include_module matcherRobert Speicher
2015-06-20Fix Error 500 when one user attempts to access a personal, internal snippetStan Hu
Closes #1815
2015-06-15Add `allowing_for_delay` helper method for feature specsRobert Speicher
2015-06-14Allow login_as helper to accept a User objectRobert Speicher
2015-06-10Memoize result of JSON.parse in json_responseRobert Speicher
This might see a minor speedup in test cases that call this method many times.
2015-06-10Add spec/support files for WebMock and test coverageRobert Speicher