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
0
Merge Requests
0
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
Jérome Perrin
gitlab-ce
Commits
2a771d57
Commit
2a771d57
authored
Apr 07, 2017
by
Douwe Maan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix view spec
parent
bea1aba9
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
spec/views/projects/notes/_form.html.haml_spec.rb
spec/views/projects/notes/_form.html.haml_spec.rb
+2
-2
No files found.
spec/views/projects/notes/_form.html.haml_spec.rb
View file @
2a771d57
...
@@ -4,7 +4,7 @@ describe 'projects/notes/_form' do
...
@@ -4,7 +4,7 @@ describe 'projects/notes/_form' do
include
Devise
::
Test
::
ControllerHelpers
include
Devise
::
Test
::
ControllerHelpers
let
(
:user
)
{
create
(
:user
)
}
let
(
:user
)
{
create
(
:user
)
}
let
(
:project
)
{
create
(
:
empty_project
)
}
let
(
:project
)
{
create
(
:
project
,
:repository
)
}
before
do
before
do
project
.
team
<<
[
user
,
:master
]
project
.
team
<<
[
user
,
:master
]
...
@@ -20,7 +20,7 @@ describe 'projects/notes/_form' do
...
@@ -20,7 +20,7 @@ describe 'projects/notes/_form' do
context
"with a note on
#{
noteable
}
"
do
context
"with a note on
#{
noteable
}
"
do
let
(
:note
)
{
build
(
:"note_on_
#{
noteable
}
"
,
project:
project
)
}
let
(
:note
)
{
build
(
:"note_on_
#{
noteable
}
"
,
project:
project
)
}
it
'says that
only markdown is supported, not slash commands
'
do
it
'says that
markdown and slash commands are supported
'
do
expect
(
rendered
).
to
have_content
(
'Markdown and slash commands are supported'
)
expect
(
rendered
).
to
have_content
(
'Markdown and slash commands are supported'
)
end
end
end
end
...
...
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