summaryrefslogtreecommitdiff
path: root/features/snippets/public_snippets.feature
blob: c2afb63b6d894917cb90be8fe5a18faa193420f3 (plain)
1
2
3
4
5
6
7
8
9
10
Feature: Public snippets
  Scenario: Unauthenticated user should see public snippets
    Given There is public "Personal snippet one" snippet
    And I visit snippet page "Personal snippet one"
    Then I should see snippet "Personal snippet one"

  Scenario: Unauthenticated user should see raw public snippets
    Given There is public "Personal snippet one" snippet
    And I visit snippet raw page "Personal snippet one"
    Then I should see raw snippet "Personal snippet one"