spec/spec_helper.rb in stachio-0.0.2 vs spec/spec_helper.rb in stachio-0.0.3

- old
+ new

@@ -1,13 +1,22 @@ +require 'simplecov' + +SimpleCov.start do + add_filter "vendor" + add_filter "spec" + + add_group "Models", "app/models" + add_group "Controllers", "app/controllers" +end + # This file is copied to spec/ when you run 'rails generate rspec:install' ENV["RAILS_ENV"] ||= 'test' # require File.expand_path("../../config/environment", __FILE__) require File.expand_path("../dummy/config/environment", __FILE__) require 'rspec/rails' require 'rspec/autorun' -require 'simplecov' require 'pry' # Requires supporting ruby files with custom matchers and macros, etc, # in spec/support/ and its subdirectories. Dir[Rails.root.join("spec/support/**/*.rb")].each { |f| require f }