summaryrefslogtreecommitdiffstats
path: root/spec
diff options
context:
space:
mode:
authorHarald Eilertsen <haraldei@anduin.net>2015-10-06 19:23:44 +0200
committerHarald Eilertsen <haraldei@anduin.net>2015-10-06 19:23:44 +0200
commit15a7e9d92a392ddb02968e60039c0b88416e05d7 (patch)
treeb9359e6bbac0cc39e76db9d1ef9f0433542eda25 /spec
parent67d6a82610ffed0afaab0cab145024b29e00258c (diff)
downloadnorsk-urskog-registrations-15a7e9d92a392ddb02968e60039c0b88416e05d7.tar.gz
norsk-urskog-registrations-15a7e9d92a392ddb02968e60039c0b88416e05d7.tar.bz2
norsk-urskog-registrations-15a7e9d92a392ddb02968e60039c0b88416e05d7.zip
Install Capybara and Selenium for more advanced tests.
Diffstat (limited to 'spec')
-rw-r--r--spec/spec_helper.rb3
1 files changed, 3 insertions, 0 deletions
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