AutoCommit Mon Aug 31 13:03:02 CEST 2015

This commit is contained in:
Andreas Stephanides
2015-08-31 13:03:02 +02:00
parent 6b324ded44
commit cec9939144
4 changed files with 36 additions and 16 deletions

View File

@@ -10,6 +10,14 @@ require 'sunspot_test/rspec'
Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }
Dir[Rails.root.join("spec/models/shared_examples/**/*.rb")].each {|f| require f}
Dir[Rails.root.join("spec/controllers/shared_examples/**/*.rb")].each {|f| require f}
RSpec.configure do |config|
config.include Devise::TestHelpers, :type => :controller
config.extend ControllerMacros, :type => :controller
end
RSpec.configure do |config|
# ## Mock Framework
#
@@ -37,4 +45,8 @@ RSpec.configure do |config|
# the seed, which is printed after each run.
# --seed 1234
config.order = "random"
end