Skip to content

Instantly share code, notes, and snippets.

View rudelyunethical's full-sized avatar

rudelyunethical

View GitHub Profile
@rudelyunethical
rudelyunethical / test_steps.rb
Created October 1, 2012 23:07
Ruby On Rails: Initial testing steps @cucumber
Given /^I am on the home page$/ do
visit "/"
end
Then /^I should see "([^"]*)"$/ do |text|
page.should have_content text
end
@rudelyunethical
rudelyunethical / test.feature
Created October 1, 2012 23:04
Ruby On Rails: Initial feature @cucumber
Feature: Testing Configuration
In order to have a base for my new application
As a developer
I want to test the configuration settings for this application
Scenario: Test Home Page
Given I am on the home page
Then I should see "home"