Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
G
gitlab-ce
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
1
Merge Requests
1
Analytics
Analytics
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
nexedi
gitlab-ce
Commits
1e73ebc0
Commit
1e73ebc0
authored
Nov 26, 2019
by
gfyoung
Committed by
Thong Kuah
Nov 26, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix typo in create_snippet_spec.rb
reuiqred --> required
parent
71c8f443
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 addition
and
1 deletion
+1
-1
spec/features/projects/snippets/create_snippet_spec.rb
spec/features/projects/snippets/create_snippet_spec.rb
+1
-1
No files found.
spec/features/projects/snippets/create_snippet_spec.rb
View file @
1e73ebc0
...
@@ -52,7 +52,7 @@ describe 'Projects > Snippets > Create Snippet', :js do
...
@@ -52,7 +52,7 @@ describe 'Projects > Snippets > Create Snippet', :js do
expect
(
link
).
to
match
(
%r{/
#{
Regexp
.
escape
(
project
.
full_path
)
}
/uploads/
\h
{32}/banana_sample
\.
gif
\z
}
)
expect
(
link
).
to
match
(
%r{/
#{
Regexp
.
escape
(
project
.
full_path
)
}
/uploads/
\h
{32}/banana_sample
\.
gif
\z
}
)
end
end
it
'creates a snippet when all re
uiq
red fields are filled in after validation failing'
do
it
'creates a snippet when all re
qui
red fields are filled in after validation failing'
do
fill_in
'project_snippet_title'
,
with:
'My Snippet Title'
fill_in
'project_snippet_title'
,
with:
'My Snippet Title'
click_button
(
'Create snippet'
)
click_button
(
'Create snippet'
)
...
...
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