public
Description: The code that runs webjam.com.au
Homepage: http://webjam.com.au
Clone URL: git://github.com/webjam/webjam.git
Change to the new cucumber story format
toolmantim (author)
Wed Oct 08 19:19:29 -0700 2008
commit  dd8a99249de61e90c8ca32101e07f684a090195c
tree    ec3cf800986f810ac0a0d95ed9d2b066488b50ac
parent  4bd67db831a6a12de050192410cf8ec302d224df
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Viewing the about page
0
+Feature: Viewing the about page
0
 
0
-  As a visitor
0
-  I want to visit the about page
0
-  So that I can read all about Webjam
0
+  In order to read all about Webjam
0
+  I should be able to visit the about page
0
   
0
   Scenario: about page with past events from an iphone
0
     Given there is a past event
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Updating your account details
0
+Feature: Updating your account details
0
 
0
-  As a user
0
-  I want to edit and update my personal details
0
-  So that I can show the world how cool I am
0
+  In order to show the world how cool I am
0
+  I should be able to edit and update my personal details
0
   
0
   Scenario: viewing the account page
0
     Given I am logged in
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Event related things
0
+Feature: Event related things
0
 
0
-  As a visitor
0
-  I want to visit the events pages
0
-  So that I can see all the cool stuff
0
+  In order to see all the cool stuff
0
+  I should be able to visit the events pages
0
   
0
   Scenario: not logged viewing the past events page from an iphone
0
     Given I am not logged in
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Viewing the home page
0
+Feature: Viewing the home page
0
 
0
-  As a visitor
0
-  I want to visit the home page
0
-  So that I can see all the cool stuff
0
+  In order to see all the cool stuff
0
+  I should be able to visit the home page
0
   
0
   Scenario: not logged in
0
     Given I am not logged in
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Viewing post pages
0
+Feature: Viewing post pages
0
 
0
-  As a visitor
0
-  I want to visit pages and pages and pages of blog posts
0
-  So that I absorb Lachlan's deep insights into man and machine
0
+  In order to absorb Lachlan's deep insights into man and machine
0
+  I should be able to visit pages and pages and pages of blog posts
0
   
0
   Scenario: viewing a post when logged in
0
     Given I am logged in
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Viewing event presentations
0
+Feature: Viewing event presentations
0
 
0
-  As a visitor
0
-  I want to view the presentations for an event
0
-  So that I can relive the moments
0
+  In order to relive the moments
0
+  I should be able to view the presentations for an event
0
   
0
   Scenario: viewing an event's presentations page
0
     Given I am not logged in
...
1
 
2
3
4
5
 
 
6
7
8
...
 
1
2
 
 
 
3
4
5
6
7
0
@@ -1,8 +1,7 @@
0
-Story: Gracefully handing tampered cookies
0
+Feature: Gracefully handing tampered cookies
0
 
0
-  As a user with a tampered cookie
0
-  I want to not be shown a rude error page
0
-  So that I can join in the webjam fun
0
+  In order to join in the webjam fun
0
+  I should be able to browse webjam with a tampered cookie
0
   
0
   Scenario: user with tampered cookie
0
     Given I am naughty

Comments