Feature: webrat This feature file is used by RSpec to test Suhyo's library of step definitions. Scenario: link text expected, found Given the response is Correct Text Then I should see a link that says "Correct Text" Scenario: link text expected, not found Given the response is Wrong Text Then I should see a link that says "Correct Text" Scenario: link text not expected, not found Given the response is Wrong Text Then I should not see a link that says "Correct Text" Scenario: link text not expected, found Given the response is Correct Text Then I should not see a link that says "Correct Text" Scenario: link URL expected, found Given the response is Text Then I should see a link to "http://correct.com" Scenario: link URL expected, not found Given the response is Text Then I should see a link to "http://correct.com" Scenario: link URL not expected, not found Given the response is Text Then I should not see a link to "http://correct.com" Scenario: link URL not expected, found Given the response is Text Then I should not see a link to "http://correct.com" Scenario: button text expected, found Given the response is Then I should see a button that says "Correct Text" Scenario: button text expected, not found Given the response is Then I should see a button that says "Correct Text" Scenario: button text not expected, not found Given the response is Then I should not see a button that says "Correct Text" Scenario: button text not expected, found Given the response is Then I should not see a button that says "Correct Text" Scenario: page title correct Given the response is Correct Title Then the page title should be "Correct Title" Scenario: page title wrong Given the response is Wrong Title Then the page title should be "Correct Title" Scenario: content expected before, found before Given the response is

First

Second

Then I should see "First" before "Second" Scenario: content expected before, found after Given the response is

Second

First

Then I should see "First" before "Second" Scenario: content expected after, found after Given the response is

First

Second

Then I should see "Second" after "First" Scenario: content expected after, found before Given the response is

Second

First

Then I should see "Second" after "First" Scenario: query string expected, found Given the current path is path?a=alpha&b=beta Then I should be at a page with the query string "a=alpha&b=beta" Scenario: query string expected, not found Given the current path is path?a=alpha Then I should be at a page with the query string "a=alpha&b=beta" Scenario: query string expected, path wrong Given the current path is wrong_path?a=alpha&b=beta Then I should be at a page with the query string "a=alpha&b=beta" Scenario: partial query string expected, found Given the current path is path?a=alpha&b=beta&z=omega Then I should be at a page with the query string including "a=alpha&b=beta" Scenario: partial query string expected, not found Given the current path is path?a=alpha&z=omega Then I should be at a page with the query string including "a=alpha&b=beta" Scenario: partial query string expected, path wrong Given the current path is wrong_path?a=alpha&b=beta&z=omega Then I should be at a page with the query string including "a=alpha&b=beta"