Permalink
Browse files

Install Coveralls for keeping track of test coverage

  • Loading branch information...
1 parent 55b4ca6 commit 4d3b04e2c2932c55a8447d16788e809cdad12e9b @laserlemon committed Mar 6, 2013
Showing with 6 additions and 1 deletion.
  1. +1 −0 Gemfile
  2. +2 −1 README.md
  3. +3 −0 spec/spec_helper.rb
View
@@ -8,6 +8,7 @@ gemspec name: "periscope-mongoid"
group :test do
gem "bson_ext", "~> 1.8"
+ gem "coveralls", "~> 0.6", require: false
gem "database_cleaner", "~> 0.9"
gem "dm-migrations", "~> 1.2"
gem "dm-sqlite-adapter", "~> 1.2"
View
@@ -1,8 +1,9 @@
# Periscope
[![Gem Version](https://badge.fury.io/rb/periscope.png)](http://badge.fury.io/rb/periscope)
[![Build Status](https://travis-ci.org/laserlemon/periscope.png?branch=master)](https://travis-ci.org/laserlemon/periscope)
-[![Dependency Status](https://gemnasium.com/laserlemon/periscope.png)](https://gemnasium.com/laserlemon/periscope)
[![Code Climate](https://codeclimate.com/github/laserlemon/periscope.png)](https://codeclimate.com/github/laserlemon/periscope)
+[![Coverage Status](https://coveralls.io/repos/laserlemon/periscope/badge.png?branch=master)](https://coveralls.io/r/laserlemon/periscope)
+[![Dependency Status](https://gemnasium.com/laserlemon/periscope.png)](https://gemnasium.com/laserlemon/periscope)
Periscope provides a simple way to chain scopes on your models and to open those scopes up to your users.
View
@@ -1,3 +1,6 @@
+require "coveralls"
+Coveralls.wear!
+
require "periscope"
Dir["./spec/shared/*.rb"].each { |f| require f }

0 comments on commit 4d3b04e

Please sign in to comment.