From 15a7e9d92a392ddb02968e60039c0b88416e05d7 Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 6 Oct 2015 19:23:44 +0200 Subject: Install Capybara and Selenium for more advanced tests. --- spec/spec_helper.rb | 3 +++ 1 file changed, 3 insertions(+) (limited to 'spec/spec_helper.rb') diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb index 1e7a791..0b78dfd 100644 --- a/spec/spec_helper.rb +++ b/spec/spec_helper.rb @@ -5,6 +5,7 @@ require_relative 'support/band_factory' require 'rspec' require 'rack/test' require 'mail' +require 'capybara/rspec' RSpec.configure do |config| config.include BandFactory @@ -13,3 +14,5 @@ end Mail.defaults do delivery_method :test # in practice you'd do this in spec_helper.rb end + +Capybara.app = RegistrationApp -- cgit v1.2.3