From fa34901237cc244fe8b828d079af891e63de1c8f Mon Sep 17 00:00:00 2001 From: Ciro Santilli Date: Thu, 2 Oct 2014 18:42:54 +0200 Subject: Make Spinach test names consistent - do not add Feature to feature titles - titleize feature titles - put steps on the same path as .feature files - make feature titles match their path --- features/snippets/discover.feature | 2 +- features/snippets/snippets.feature | 2 +- features/snippets/user.feature | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) (limited to 'features/snippets') diff --git a/features/snippets/discover.feature b/features/snippets/discover.feature index f0b8d3a408a..5094062c8c3 100644 --- a/features/snippets/discover.feature +++ b/features/snippets/discover.feature @@ -1,5 +1,5 @@ @snippets -Feature: Discover Snippets +Feature: Snippets Discover Background: Given I sign in as a user And I have public "Personal snippet one" snippet diff --git a/features/snippets/snippets.feature b/features/snippets/snippets.feature index 38216dd5b7b..4c4e3ee2cff 100644 --- a/features/snippets/snippets.feature +++ b/features/snippets/snippets.feature @@ -1,5 +1,5 @@ @snippets -Feature: Snippets Feature +Feature: Snippets Background: Given I sign in as a user And I have public "Personal snippet one" snippet diff --git a/features/snippets/user.feature b/features/snippets/user.feature index d032a33686b..424794f73fd 100644 --- a/features/snippets/user.feature +++ b/features/snippets/user.feature @@ -1,5 +1,5 @@ @snippets -Feature: User Snippets +Feature: Snippets User Background: Given I sign in as a user And I have public "Personal snippet one" snippet -- cgit v1.2.1 From fd8d1d9b62066766c96610b7d42b20fa0e84b0ac Mon Sep 17 00:00:00 2001 From: Valery Sizov Date: Tue, 7 Oct 2014 11:54:00 +0300 Subject: Snippets: rename public to internal --- features/snippets/user.feature | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'features/snippets') diff --git a/features/snippets/user.feature b/features/snippets/user.feature index 424794f73fd..ae34e8e7ffa 100644 --- a/features/snippets/user.feature +++ b/features/snippets/user.feature @@ -18,6 +18,6 @@ Feature: Snippets User Scenario: I can see only my public snippets Given I visit my snippets page - And I click "Public" filter + And I click "Internal" filter Then I should see "Personal snippet one" in snippets And I should not see "Personal snippet private" in snippets -- cgit v1.2.1