BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
gitlab-ce
Commits
810c44ae
Commit
810c44ae
authored
Aug 11, 2017
by
Rémy Coutable
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'fix-36308' into 'master'
Remove an unnecessary `let` in spec/features/projects/user_edits_files_spec.rb Closes #36308 See merge request !13488
parents
a3d3e962
e66dcf49
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
5 deletions
+4
-5
user_edits_files_spec.rb
spec/features/projects/user_edits_files_spec.rb
+4
-5
No files found.
spec/features/projects/user_edits_files_spec.rb
View file @
810c44ae
require
'spec_helper'
describe
'User edits files'
do
let
(
:fork_message
)
do
"You're not allowed to make changes to this project directly. "
\
"A fork of this project has been created that you can make changes in, so you can submit a merge request."
end
let
(
:project
)
{
create
(
:project
,
:repository
,
name:
'Shop'
)
}
let
(
:project2
)
{
create
(
:project
,
:repository
,
name:
'Another Project'
,
path:
'another-project'
)
}
let
(
:project_tree_path_root_ref
)
{
project_tree_path
(
project
,
project
.
repository
.
root_ref
)
}
...
...
@@ -91,7 +87,10 @@ describe 'User edits files' do
click_link
(
'Fork'
)
expect
(
page
).
to
have_content
(
fork_message
)
expect
(
page
).
to
have_content
(
"You're not allowed to make changes to this project directly. "
\
"A fork of this project has been created that you can make changes in, so you can submit a merge request."
)
execute_script
(
"ace.edit('editor').setValue('*.rbca')"
)
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment