BigW Consortium Gitlab
Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
gitlab-ce
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Forest Godfrey
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
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
6 additions
and
3 deletions
+6
-3
snippet.rb
features/steps/shared/snippet.rb
+3
-1
discover_snippets.rb
features/steps/snippets/discover_snippets.rb
+1
-1
snippets.rb
features/steps/snippets/snippets.rb
+1
-0
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