Last active
December 30, 2015 08:49
-
-
Save squeedee/7805523 to your computer and use it in GitHub Desktop.
Getting development dependencies for a dummy app
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require 'spec_helper' | |
require 'simple_bdd' | |
RSpec.configure do |config| | |
config.include SimpleBdd | |
end | |
ENV["RAILS_ENV"] ||= "test" | |
Bundler.require(:development) | |
require File.expand_path("../dummy/config/environment.rb", __FILE__) | |
require 'rspec/rails' | |
require 'rspec/autorun' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
RSpec.configure do |config| | |
config.treat_symbols_as_metadata_keys_with_true_values = true | |
config.run_all_when_everything_filtered = true | |
config.filter_run :focus | |
# Run specs in random order to surface order dependencies. If you find an | |
# order dependency and want to debug it, you can fix the order by providing | |
# the seed, which is printed after each run. | |
# --seed 1234 | |
config.order = 'random' | |
end |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment