Skip to content
Snippets Groups Projects
Commit 033037a0 authored by Andrew8xx8's avatar Andrew8xx8
Browse files

Typo in class name fixed

parent d4543eb5
No related branches found
No related tags found
1 merge request!3351Personal snipepts support added
module SharedProject
module SharedSnippet
include Spinach::DSL
And 'I have public "Personal snippet one" snippet' do
create(:personal_snippet,
title: "Personal snippet one",
Loading
Loading
class DiscoverSnippets < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedProject
include SharedSnippet
 
Then 'I should see "Personal snippet one" in snippets' do
page.should have_content "Personal snippet one"
Loading
Loading
Loading
Loading
@@ -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"
Loading
Loading
class UserSnippets < Spinach::FeatureSteps
include SharedAuthentication
include SharedPaths
include SharedProject
include SharedSnippet
 
Given 'I visit my snippets page' do
visit user_snippets_path(current_user)
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment