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
Léo-Paul Géneau
gitlab-ce
Commits
d985d08a
Commit
d985d08a
authored
Dec 28, 2015
by
Jacob Schatz
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
adds proper `it` for multi line. adds `find` with correct id for button.
parent
c6c96708
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
3 deletions
+3
-3
spec/features/projects_spec.rb
spec/features/projects_spec.rb
+3
-3
No files found.
spec/features/projects_spec.rb
View file @
d985d08a
...
@@ -81,10 +81,10 @@ feature 'Project', feature: true do
...
@@ -81,10 +81,10 @@ feature 'Project', feature: true do
end
end
it
{
expect
(
page
).
to
have_content
(
'You have Master access to this project.'
)
}
it
{
expect
(
page
).
to
have_content
(
'You have Master access to this project.'
)
}
it
{
it
'click project-settings and find leave project'
do
find
(
'#project-settings'
).
click
find
(
'#project-settings
-button
'
).
click
expect
(
page
).
to
have_link
(
'Leave Project'
)
expect
(
page
).
to
have_link
(
'Leave Project'
)
}
end
end
end
def
remove_with_confirm
(
button_text
,
confirm_with
)
def
remove_with_confirm
(
button_text
,
confirm_with
)
...
...
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