Commit graph

13 commits

Author SHA1 Message Date
Jacopo
c30f92464e Replaces 'WikiPage::CreateService' calls with 'wiki_page' factory
We replace the usage of WikiPage::CreateService with the wiki_page factory in the specs.
2017-10-13 14:42:52 +02:00
Jacopo
0ce6785851 Replaces tag: true into :tag in the specs
Replaces all the explicit include metadata syntax in the specs (tag:
true) into the implicit one (:tag).
Added a cop to prevent future errors and handle autocorrection.
2017-10-07 13:57:54 +02:00
Robert Speicher
72a7b30c9f Change all :empty_project to :project 2017-08-02 17:47:31 -04:00
Gabriel Mazetto
abb878326c Rename many path_with_namespace -> full_path 2017-08-01 07:26:58 +02:00
Robert Speicher
1a0064dceb Use empty_project where possible in spec/features/projects 2017-07-27 13:12:16 -04:00
Keifer Furzland
7e113b6824 Remove superfluous type defs in specs
Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-07-27 14:31:52 +02:00
Robert Speicher
9eeba8fb49 Auto-correct ProjectPathHelper violations 2017-07-06 12:20:50 -04:00
Robert Speicher
e939bf7be1 Change gitlab_sign_in to sign_in where possible 2017-06-29 12:18:23 -04:00
Robert Speicher
45fb1f9542 Change login_as uses to gitlab_sign_in 2017-06-19 18:59:01 -05:00
Rémy Coutable
519ffaeb7a
Ensure wiki is created before we visit the Wiki page
🤦

Signed-off-by: Rémy Coutable <remy@rymai.me>
2017-06-09 13:12:42 +02:00
Annabel Dunstone Gray
0278b91203 Fix specs 2017-05-12 09:27:05 -05:00
Jose Ivan Vargas Lopez
c380d7669c Fixed button capitalisation for Projects in views 2017-04-06 14:58:57 -05:00
Timothy Andrew
42a00f740b WikiPage should have a slug even when not persisted.
1. So we can build the markdown preview URL for it.

2. We can't skip the slug in this case, because the slug is used to
construct relative markdown URLs.

3. Add rspec feature tests to cover creating wiki pages with
   spaces/hyphens in the name.

4. Add rspec feature tests for markdown preview URL rewriting, which was
   only covered by unit tests up to this point.
2016-07-25 09:22:47 +05:30