Commit graph

8 commits

Author SHA1 Message Date
Bob Van Landuyt
e8ca579d88 Add a project forks spec helper
The helper creates a fork of a project with all provided attributes,
but skipping the creation of the repository on disk.
2017-10-07 11:46:23 +02:00
Robert Speicher
985a0c39ef Use Project :repository trait where necessary in view specs 2017-03-27 18:45:37 -04:00
Phil Hughes
cc88fa4d5b Merge branch 'master' into revert-c676283b 2016-10-03 09:10:20 +01:00
Connor Shea
8062380f60 Upgrade Devise from 4.1.1 to 4.2.0.
This fixes an issue with Rails 5 and brings us up-to-date with the latest Devise release.

This also replaces the deprecated Devise::TestHelpers with Devise::Test::ControllerHelpers.

Changelog: https://github.com/plataformatec/devise/blob/v4.2.0/CHANGELOG.md#420---2016-07-01
2016-09-27 20:08:49 -06:00
Phil Hughes
69db604e55 Updated tests 2016-09-02 14:00:57 +01:00
Katarzyna Kobierska
6b02c82cfe Improve grammar 2016-08-30 13:05:40 +02:00
Katarzyna Kobierska
2e08f11569 Improve code 2016-08-30 13:05:40 +02:00
Katarzyna Kobierska
c9c2503c51 User can edit closed MR with deleted fork
Add test for closed MR without fork

Add view test visibility of Reopen and Close buttons

Fix controller tests and validation method

Fix missing space

Remove unused variables from test

closed_without_fork? method refactoring

Add information about missing fork

When closed MR without fork can't edit target branch

Tests for closed MR edit view

Fix indentation and rebase, refactoring
2016-08-30 13:05:40 +02:00