Skip to content

Commit

Permalink
Merge 7811fb6 into e6dbff1
Browse files Browse the repository at this point in the history
  • Loading branch information
endoze committed Jun 16, 2013
2 parents e6dbff1 + 7811fb6 commit 907d30c
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 4 deletions.
2 changes: 2 additions & 0 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -11,3 +11,5 @@ group :development do
gem "simplecov"
gem "jeweler"
end

gem 'coveralls', require: false
2 changes: 1 addition & 1 deletion README.rdoc
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
= health_graph

{<img src="https://travis-ci.org/endoze/health_graph.png?branch=master" />}[https://travis-ci.org/endoze/health_graph]

{<img src="https://gemnasium.com/endoze/health_graph.png" alt="Dependency Status" />}[https://gemnasium.com/endoze/health_graph]
{<img src="https://coveralls.io/repos/endoze/health_graph/badge.png" alt="Coverage Status" />}[https://coveralls.io/r/endoze/health_graph]

Ruby gem to work with RunKeeper Health Graph API. More information about RunKeeper Health Graph API http://developer.runkeeper.com/healthgraph.

Expand Down
9 changes: 6 additions & 3 deletions test/helper.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
require 'coveralls'
Coveralls.wear!

require 'simplecov'
SimpleCov.start

Expand All @@ -11,14 +14,14 @@

class Test::Unit::TestCase
TEST_USER_TOKEN = "b9aaf2581480432a939a72f894bf".freeze

def fixture(file)
path = File.expand_path("../fixtures", __FILE__)
File.new(path + '/' + file)
end

def json_fixture(file)
file = fixture(file)
JSON.load(file)
JSON.load(file)
end
end

0 comments on commit 907d30c

Please sign in to comment.