From 62326cb57470475fd10e83e28d56a92e6cbc07bf Mon Sep 17 00:00:00 2001 From: Harald Eilertsen Date: Tue, 16 Aug 2016 22:00:41 +0200 Subject: Fix remaining tests. --- spec/features/register_band_spec.rb | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'spec') diff --git a/spec/features/register_band_spec.rb b/spec/features/register_band_spec.rb index 798b0a8..f75315d 100644 --- a/spec/features/register_band_spec.rb +++ b/spec/features/register_band_spec.rb @@ -2,6 +2,11 @@ require 'spec_helper' feature "Submit registration form" do background do + Capybara.app.set :accept_registrations, { + start: Date.today.iso8601, + stop: (Date.today + 1).iso8601 + } + visit '/' @band_params = create_band_params end -- cgit v1.2.3