Skip to content

Commit

Permalink
Added coverate tool to app
Browse files Browse the repository at this point in the history
  • Loading branch information
cajun-code committed Feb 3, 2012
1 parent d7a8431 commit 21df3f3
Showing 1 changed file with 8 additions and 2 deletions.
10 changes: 8 additions & 2 deletions spec/spec_helper.rb
@@ -1,10 +1,16 @@
# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'

require 'simplecov'
SimpleCov.start 'rails'


require File.expand_path("../../config/environment", __FILE__)
require 'rspec/rails'
require 'rspec/autorun'
require 'simplecov'
SimpleCov.start



# 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}
Expand Down

0 comments on commit 21df3f3

Please sign in to comment.