Created
May 18, 2014 14:05
-
-
Save brandonpittman/0f7ee81223e2b473c322 to your computer and use it in GitHub Desktop.
middleman spec helper
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
require "middleman" | |
require 'rspec' | |
require 'capybara/rspec' | |
Capybara.app = Middleman::Application.server.inst do | |
set :root, File.expand_path(File.join(File.dirname(__FILE__), '..')) | |
set :environment, :development | |
set :show_exceptions, false | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment