vue app for image list. even tests. but wip
This commit is contained in:
@@ -5,6 +5,8 @@ require_relative '../test/dummy/config/environment'
|
||||
# Prevent database truncation if the environment is production
|
||||
abort("The Rails environment is running in production mode!") if Rails.env.production?
|
||||
require 'rspec/rails'
|
||||
require 'capybara/rails'
|
||||
|
||||
# Add additional requires below this line. Rails is not loaded until this point!
|
||||
|
||||
# Requires supporting ruby files with custom matchers and macros, etc, in
|
||||
@@ -22,7 +24,11 @@ require 'rspec/rails'
|
||||
#
|
||||
# Dir[Rails.root.join('spec', 'support', '**', '*.rb')].sort.each { |f| require f }
|
||||
|
||||
Capybara.javascript_driver = :selenium_headless
|
||||
|
||||
RSpec.configure do |config|
|
||||
|
||||
|
||||
# Remove this line to enable support for ActiveRecord
|
||||
config.use_active_record = false
|
||||
|
||||
|
Reference in New Issue
Block a user