diff options
Diffstat (limited to 'spec/features')
-rw-r--r-- | spec/features/register_band_spec.rb | 5 |
1 files changed, 5 insertions, 0 deletions
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 |