Commit graph

8 commits

Author SHA1 Message Date
Mike Greiling
6e7e505237 include all expected instance vars for _show.html.haml template within tests 2017-01-03 13:08:52 -06:00
Katarzyna Kobierska
1b547cfba8 Improve grammar 2016-09-30 11:28:05 +02:00
Katarzyna Kobierska
25edb0709c Close merge request if open without source project 2016-09-30 11:28:05 +02: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
Katarzyna Kobierska
8ed6e2ec7a Fix test 2016-08-30 13:05:40 +02: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