summaryrefslogtreecommitdiff
path: root/features/steps/snippets
diff options
context:
space:
mode:
Diffstat (limited to 'features/steps/snippets')
-rw-r--r--features/steps/snippets/discover_snippets.rb2
-rw-r--r--features/steps/snippets/snippets.rb1
-rw-r--r--features/steps/snippets/user_snippets.rb2
3 files changed, 3 insertions, 2 deletions
diff --git a/features/steps/snippets/discover_snippets.rb b/features/steps/snippets/discover_snippets.rb
index ff2e4952c36..3afe019adf6 100644
--- a/features/steps/snippets/discover_snippets.rb
+++ b/features/steps/snippets/discover_snippets.rb
@@ -1,7 +1,7 @@
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"
diff --git a/features/steps/snippets/snippets.rb b/features/steps/snippets/snippets.rb
index f20832cb1f1..0ab636543a9 100644
--- a/features/steps/snippets/snippets.rb
+++ b/features/steps/snippets/snippets.rb
@@ -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"
diff --git a/features/steps/snippets/user_snippets.rb b/features/steps/snippets/user_snippets.rb
index 0920b56e38d..15d6da6db3d 100644
--- a/features/steps/snippets/user_snippets.rb
+++ b/features/steps/snippets/user_snippets.rb
@@ -1,7 +1,7 @@
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)