Created
October 25, 2011 20:07
-
-
Save HeroicEric/1314073 to your computer and use it in GitHub Desktop.
This file contains hidden or 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
| ENV['RACK_ENV'] = 'test' | |
| require File.join(File.dirname(__FILE__), '..', '..', 'app.rb') | |
| require 'capybara' | |
| require 'capybara/cucumber' | |
| require 'rspec' | |
| Capybara.app = App | |
| class AppWorld | |
| include Capybara::DSL | |
| include RSpec::Expectations | |
| include RSpec::Matchers | |
| end | |
| World do | |
| AppWorld.new | |
| end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment