Robert Speicher
ca9a79f620
Use :empty_project
where possible in service specs
2017-03-27 20:44:09 -04:00
Yorick Peterse
ebae38394d
Refresh authorizations when transferring projects
...
This ensures that project authorizations are refreshed when moving a
project from one namespace to another. When doing so the permissions for
all users of both the old and new namespaces are refreshed.
See #26194 for more information.
2017-02-07 14:58:49 +01:00
Kamil Trzcinski
2c2447771f
Rename pages namespace or project path when changed
...
- Move UploadsTransfer to ProjectTransfer and inherit from this to UploadsTransfer and PagesTransfer
2017-01-31 22:53:56 +00:00
Douglas Barbosa Alexandre
8522ef44bf
Recreates missing group labels when moving project to another group
2016-10-19 14:58:24 -02:00
Grzegorz Bizon
9e211091a8
Enable Style/EmptyLines cop, remove redundant ones
2016-07-01 21:56:17 +02:00
Kamil Trzcinski
91c4002a0c
Improve test coverage
2016-05-16 18:03:55 -05:00
Felipe Artur
11f46b459e
Setup visibility level for project when transfering for a group
2016-04-13 15:28:10 -03:00
Douwe Maan
a2cfb44157
Tag service specs
2015-12-09 11:55:49 +01:00
Valery Sizov
8f584d5f2c
Fix: Images cannot show when projects' path was changed
2015-10-14 18:50:35 +03:00
Douwe Maan
29cbb2f078
Update specs.
2015-07-11 16:47:33 -04:00
Robert Speicher
422236c71e
Change foo.should
syntax to expect(foo).to
in specs
2015-06-13 18:37:30 -04:00
Vinnie Okada
76aad9b76e
Upgrade to Rails 4.1.9
...
Make the following changes to deal with new behavior in Rails 4.1.2:
* Use nested resources to avoid slashes in arguments to path helpers.
2015-02-14 11:09:23 -07:00
Jeroen van Baarsen
0c4a70a306
Updated rspec to rspec 3.x syntax
...
Signed-off-by: Jeroen van Baarsen <jeroenvanbaarsen@gmail.com>
2015-02-12 19:17:35 +01:00
Bernhard Kaindl
84fbd29351
transfer_service_spec: cleanup, merge common code, check against nil
...
- replace creation of group2 with the use of group without add_owner(user)
- fold TransferService calls into new test function transfer_project
- remove currently not used (and not working) gitlab_shell stub
(will submit testcase simulating failure in gitlab_shell separately)
- add checks against not be_nil (result.should be_false passes even if nil)
2014-10-04 12:29:24 +02:00
Dmitriy Zaporozhets
2d87556847
Remove rails observers from application
2014-06-17 22:51:43 +03:00
Dmitriy Zaporozhets
14f78d067d
Modify specs for new project transfer code
...
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-05-28 19:04:18 +03:00
Robert Speicher
07833d1676
Move Project's service specs to the correct location
...
[ci skip]
2014-03-22 16:38:22 -04:00