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
033037a0
Commit
033037a0
authored
Mar 25, 2013
by
Andrew8xx8
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Typo in class name fixed
parent
d4543eb5
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
features/steps/shared/snippet.rb
features/steps/shared/snippet.rb
+3
-1
features/steps/snippets/discover_snippets.rb
features/steps/snippets/discover_snippets.rb
+1
-1
features/steps/snippets/snippets.rb
features/steps/snippets/snippets.rb
+1
-0
features/steps/snippets/user_snippets.rb
features/steps/snippets/user_snippets.rb
+1
-1
No files found.
features/steps/shared/snippet.rb
View file @
033037a0
module
SharedProject
module
SharedSnippet
include
Spinach
::
DSL
And
'I have public "Personal snippet one" snippet'
do
create
(
:personal_snippet
,
title:
"Personal snippet one"
,
...
...
features/steps/snippets/discover_snippets.rb
View file @
033037a0
class
DiscoverSnippets
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
Shared
Projec
t
include
Shared
Snippe
t
Then
'I should see "Personal snippet one" in snippets'
do
page
.
should
have_content
"Personal snippet one"
...
...
features/steps/snippets/snippets.rb
View file @
033037a0
...
...
@@ -2,6 +2,7 @@ class Snippets < Spinach::FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
SharedProject
include
SharedSnippet
Given
'I click link "Personal snippet one"'
do
click_link
"Personal snippet one"
...
...
features/steps/snippets/user_snippets.rb
View file @
033037a0
class
UserSnippets
<
Spinach
::
FeatureSteps
include
SharedAuthentication
include
SharedPaths
include
Shared
Projec
t
include
Shared
Snippe
t
Given
'I visit my snippets page'
do
visit
user_snippets_path
(
current_user
)
...
...
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