Skip to content

Commit

Permalink
Merge pull request #28 from amanelis/coverage
Browse files Browse the repository at this point in the history
Spec coverage
  • Loading branch information
Tony Guntharp committed Jan 26, 2013
2 parents c6b9651 + 40d3df8 commit ae3f5a3
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 1 deletion.
5 changes: 4 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -13,6 +13,9 @@
# sass-cache
/app/assets/stylesheets/.sass-cache

# Simplecov
/coverage

.bushido
.rvmrc

Expand All @@ -22,4 +25,4 @@
/log/*.log
/tmp

public/system/*
public/system/*
1 change: 1 addition & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,7 @@ group :test do
gem 'rspec-rails'
gem 'shoulda-matchers'
gem 'factory_girl_rails'
gem 'simplecov', :require => false
end

group :development, :test do
Expand Down
5 changes: 5 additions & 0 deletions Gemfile.lock
Original file line number Diff line number Diff line change
Expand Up @@ -226,6 +226,10 @@ GEM
shoulda-matchers (1.4.2)
activesupport (>= 3.0.0)
bourne (~> 1.1.2)
simplecov (0.7.1)
multi_json (~> 1.0)
simplecov-html (~> 0.7.1)
simplecov-html (0.7.1)
slop (3.3.3)
sprockets (2.2.2)
hike (~> 1.2)
Expand Down Expand Up @@ -286,6 +290,7 @@ DEPENDENCIES
rspec-rails
sass-rails
shoulda-matchers
simplecov
sqlite3
thin
uglifier
3 changes: 3 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
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

0 comments on commit ae3f5a3

Please sign in to comment.