summaryrefslogblamecommitdiffstats
path: root/spec/spec_helper.rb
blob: 1e7a791ef67f3c52c1bd8a1e7673e95888a40d3a (plain) (tree)
1
2
3
4
5
6
7
8

                        
                                  
                                       

                   

              



                            


                                                                     
ENV['RACK_ENV'] = 'test'

require_relative '../registration'
require_relative 'support/band_factory'
require 'rspec'
require 'rack/test'
require 'mail'

RSpec.configure do |config|
  config.include BandFactory
end

Mail.defaults do
  delivery_method :test # in practice you'd do this in spec_helper.rb
end