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
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Commits
Issue Boards
Open sidebar
Kirill Smelkov
gitlab-ce
Commits
a5933099
Commit
a5933099
authored
Sep 25, 2013
by
Dmitriy Zaporozhets
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Fix remove snippet test
parent
b6adabb4
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
3 additions
and
3 deletions
+3
-3
features/project/snippets.feature
features/project/snippets.feature
+1
-1
features/steps/project/project_snippets.rb
features/steps/project/project_snippets.rb
+2
-2
No files found.
features/project/snippets.feature
View file @
a5933099
...
...
@@ -31,5 +31,5 @@ Feature: Project Snippets
Scenario
:
I
destroy
"Snippet one"
Given
I visit snippet page
"Snippet one"
And
I click link
"Edit"
And
I click link
"
Destroy
"
And
I click link
"
Remove Snippet
"
Then
I should not see
"Snippet one"
in snippets
features/steps/project/project_snippets.rb
View file @
a5933099
...
...
@@ -47,8 +47,8 @@ class ProjectSnippets < Spinach::FeatureSteps
end
end
And
'I click link "
Destroy
"'
do
click_link
"
Destroy
"
And
'I click link "
Remove Snippet
"'
do
click_link
"
Remove snippet
"
end
And
'I submit new snippet "Snippet three"'
do
...
...
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