Skip to content

Commit

Permalink
tweaks
Browse files Browse the repository at this point in the history
  • Loading branch information
justin808 committed Jun 3, 2017
1 parent 7695263 commit eee3762
Showing 1 changed file with 2 additions and 3 deletions.
5 changes: 2 additions & 3 deletions spec/dummy/spec/rails_helper.rb
Original file line number Diff line number Diff line change
@@ -1,19 +1,18 @@
# frozen_string_literal: true

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= "test"

require_relative "simplecov_helper"
require_relative "spec_helper"

require_relative("../config/environment")

# Prevent database truncation if the environment is production
abort("The Rails environment is running in production mode!") if Rails.env.production?

require_relative "spec_helper"
require "rspec/rails"
require "capybara/rspec"
require "capybara/poltergeist"
require "capybara/poltergeist"
require "capybara-screenshot/rspec"

# Add additional requires below this line. Rails is not loaded until this point!
Expand Down

0 comments on commit eee3762

Please sign in to comment.