Skip to content
This repository
Browse code

Add coveralls support.

  • Loading branch information...
commit a71d6e29e04df0542fc3dd29e3fd43c16ce9af89 1 parent d1b51ed
Scot Dalton authored March 21, 2013
3  Gemfile
@@ -30,6 +30,9 @@ group :development, :test do
30 30
   gem "activerecord-import"
31 31
 end
32 32
 
  33
+# Add coveralls for testing.
  34
+gem "coveralls", "~> 0.6.0", :require => false, :group => :test
  35
+
33 36
 # Declare any dependencies that are still in development here instead of in
34 37
 # your gemspec. These might include edge Rails or gems from your path or
35 38
 # Git. Remember to move these dependencies to your gemspec before releasing
1  README.md
Source Rendered
@@ -3,6 +3,7 @@
3 3
 [![Build Status](https://secure.travis-ci.org/team-umlaut/umlaut.png)](http://travis-ci.org/team-umlaut/umlaut)
4 4
 [![Dependency Status](https://gemnasium.com/team-umlaut/umlaut.png)](https://gemnasium.com/team-umlaut/umlaut)
5 5
 [![Code Climate](https://codeclimate.com/github/team-umlaut/umlaut.png)](https://codeclimate.com/github/team-umlaut/umlaut)
  6
+[![Coverage Status](https://coveralls.io/repos/team-umlaut/umlaut/badge.png?branch=master)](https://coveralls.io/r/team-umlaut/umlaut)
6 7
 <!--[![Security Status](http://rails-brakeman.com/team-umlaut/umlaut.png)](http://rails-brakeman.com/team-umlaut/umlaut)-->
7 8
 
8 9
 Umlaut is software for libraries (the kind with books). 
2  test/test_helper.rb
... ...
@@ -1,3 +1,5 @@
  1
+require 'coveralls'
  2
+Coveralls.wear!
1 3
 # Configure Rails Environment
2 4
 ENV["RAILS_ENV"] = "test"
3 5
 

0 notes on commit a71d6e2

Please sign in to comment.
Something went wrong with that request. Please try again.