Browse files

installed capybara

  • Loading branch information...
1 parent 6af0fd6 commit 5ee0eb0e66593baac4b6cc482609177adddc035b @jackdempsey committed Aug 5, 2012
Showing with 18 additions and 0 deletions.
  1. +2 −0 spec/requests/requests_helper.rb
  2. +16 −0 spec/requests/root_spec.rb
View
2 spec/requests/requests_helper.rb
@@ -0,0 +1,2 @@
+require 'spec_helper.rb'
+require 'capybara/rspec'
View
16 spec/requests/root_spec.rb
@@ -0,0 +1,16 @@
+require 'requests/requests_helper'
+
+feature "Root", %q{
+ In order to provide base functionality
+ As a user
+ I want to view the root url
+} do
+
+ background do
+ end
+
+ scenario "View " do
+ visit '/'
+ page.should have_content('Welcome')
+ end
+end

0 comments on commit 5ee0eb0

Please sign in to comment.