public
Description: The code that runs webjam.com.au
Homepage: http://webjam.com.au
Clone URL: git://github.com/webjam/webjam.git
webjam / features / events.feature
100644 26 lines (20 sloc) 0.821 kb
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
Feature: Event related things
 
  In order to see all the cool stuff
  I should be able to visit the events pages
  
  Scenario: not logged viewing the past events page from an iphone
    Given I am not logged in
      And there is a past event
    When I view the mobile past events page
    Then I see the page
 
  Scenario: not logged viewing the event page for a past event
    Given I am not logged in
    When I view the event page for a past event
    Then I see the page
 
  Scenario: not logged viewing the event page for an upcoming event
    Given I am not logged in
    When I view the event page for an upcoming event
    Then I see the page
 
  Scenario: trying to view an unpublished event
    Given I am not logged in
    When I view the event page for an unpublished event
    Then I receive a 404 not found