Commit graph

25 commits

Author SHA1 Message Date
Felipe Artur
b20595b2bd Add data migration 2017-09-15 14:45:21 -03:00
Felipe Artur
056c42cca5 Fix project feature being deleted when updating project with invalid visibility level 2017-09-12 18:10:34 -03:00
Gabriel Mazetto
8f178c4222 Prevent new / renamed project from using a repository path that already exists on disk
There are some redundancies in the validation steps, and that is to
preserve current error messages behavior

Also few specs have to be changed in order to fix madness in validation
logic.
2017-08-25 20:06:06 +02:00
blackst0ne
98535fc12c Add checks for branch existence before changing HEAD 2017-08-08 12:10:55 +11:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Rémy Coutable
ddccd24c13 Remove superfluous lib: true, type: redis, service: true, models: true, services: true, no_db: true, api: true
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:53 +02:00
Grzegorz Bizon
4ad8f12e44 Fix editing project with container images present 2017-07-24 10:47:33 +00:00
Grzegorz Bizon
418af1010a Adds specs for renaming a project with container images 2017-07-14 11:27:50 +02:00
Grzegorz Bizon
14fbff00b5 Add specs for changing default branch in a project 2017-07-14 11:21:52 +02:00
Grzegorz Bizon
613208c360 Recover from renaming project that has container images 2017-07-13 15:34:36 +02:00
Robert Speicher
ca9a79f620 Use :empty_project where possible in service specs 2017-03-27 20:44:09 -04:00
Rémy Coutable
7485cec94e
Add a spec and actually display the flash notice
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-01-16 10:57:15 -05:00
tiagonbotelho
1d268a89de adds second batch of tests changed to active tense 2016-08-09 15:11:39 +01:00
Robert Speicher
b900304c38 Make better use of the visibility_level factory traits 2016-03-08 16:40:45 -05:00
Tomasz Maczukin
c301ab0404 Add some specs for forked project visibility_level cases 2015-12-24 10:33:26 +01:00
Douwe Maan
a2cfb44157 Tag service specs 2015-12-09 11:55:49 +01:00
Robert Speicher
cf7c57aaf5 Use stub_application_setting in a few more specs
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-06 22:39:56 -04:00
Stan Hu
52aa21b12d Fix Style/IndentationWidth cop violations 2015-06-22 22:25:40 -07:00
Robert Speicher
649c9969ba Fix Style/IndentationConsistency cop violations 2015-06-22 14:33:01 -04:00
Vinnie Okada
285c534185 Allow admins to override restricted visibility
Allow admins to use restricted visibility levels when creating or
updating projects.
2015-03-08 16:10:05 -06: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
Job van der Voort
68fd66c6e3 block visibility level restriction override in controller 2014-08-28 20:33:41 +02:00
Dmitriy Zaporozhets
f0de4b539f
Fix project update specs
Signed-off-by: Dmitriy Zaporozhets <dmitriy.zaporozhets@gmail.com>
2014-06-27 00:28:32 +03:00
Dmitriy Zaporozhets
2d87556847 Remove rails observers from application 2014-06-17 22:51:43 +03:00
Robert Speicher
07833d1676 Move Project's service specs to the correct location
[ci skip]
2014-03-22 16:38:22 -04:00
Renamed from spec/services/projects_update_service_spec.rb (Browse further)