This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
=Navigating= | |
visit('/projects') | |
visit(post_comments_path(post)) | |
=Clicking links and buttons= | |
click_link('id-of-link') | |
click_link('Link Text') | |
click_button('Save') | |
click('Link Text') # Click either a link or a button | |
click('Button Value') |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
========================================================= | |
I am a subscriber | |
I want to view full articles | |
So that I can get convenient access to the news | |
--------------------------------------------------------- | |
Subscriber Acceptance Requirements: | |
-Subscriber logs in system recognizes him as a subscriber allows full access to articles | |
========================================================= | |
I am a non-subscriber | |
I want to preview the article and be able to subscribe |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
chris@luna ~ (master*) $ telnet localhost 8080 | |
Trying 127.0.0.1... | |
Connected to localhost. | |
Escape character is '^]'. | |
GET /?name=Chris HTTP/1.0 | |
HTTP/1.1 200 OK | |
Content-Type: text/html | |
Server: WEBrick/1.3.1 (Ruby/1.9.3/2012-11-10) | |
Date: Sat, 13 Apr 2013 00:07:11 GMT |