BigW Consortium Gitlab

Commit 033037a0 by Andrew8xx8

Typo in class name fixed

parent d4543eb5
module SharedProject
module SharedSnippet
include Spinach::DSL
And 'I have public "Personal snippet one" snippet' do
create(:personal_snippet,
title: "Personal snippet one",
......
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"
......
......@@ -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"
......
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)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment