Skip to content

Commit

Permalink
Merge pull request railsbridge#21 from nrevko/master
Browse files Browse the repository at this point in the history
Fixed issue railsbridge#18 -- adding code coverage
  • Loading branch information
ultrasaurus committed Apr 12, 2012
2 parents e5bf7d0 + 9004980 commit f94e62d
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
1 change: 1 addition & 0 deletions Gemfile
Expand Up @@ -35,6 +35,7 @@ group :test do
gem "guard-rspec"
gem "launchy"
gem "database_cleaner"
gem 'simplecov', :require => false
end

group :test, :development do
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Expand Up @@ -138,6 +138,10 @@ GEM
ffi (~> 1.0.9)
multi_json (~> 1.0.4)
rubyzip
simplecov (0.6.1)
multi_json (~> 1.0)
simplecov-html (~> 0.5.3)
simplecov-html (0.5.3)
sprockets (2.0.3)
hike (~> 1.2)
rack (~> 1.0)
Expand Down Expand Up @@ -172,5 +176,6 @@ DEPENDENCIES
rails (= 3.1.3)
rspec-rails
sass-rails (~> 3.1.5)
simplecov
sqlite3
uglifier (>= 1.0.3)
5 changes: 5 additions & 0 deletions spec/spec_helper.rb
@@ -1,3 +1,7 @@
# configuring code coverage
require 'simplecov'
SimpleCov.start 'rails'

# This file is copied to spec/ when you run 'rails generate rspec:install'
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
Expand Down Expand Up @@ -52,3 +56,4 @@

config.include Devise::TestHelpers, :type => :controller
end

0 comments on commit f94e62d

Please sign in to comment.