Commit 3e994a25f3dc74bbfd8e6a54db5fe1f77d934703

Authored by Nathan Broadbent
1 parent feef3778
Exists in master and in 1 other branch production

Added 'coveralls' for test coverage reporting

Showing 3 changed files with 16 additions and 0 deletions   Show diff stats
Gemfile
... ... @@ -101,6 +101,7 @@ group :test do
101 101 gem 'database_cleaner', '~> 0.6.0'
102 102 gem 'email_spec'
103 103 gem 'timecop'
  104 + gem 'coveralls', :require => false
104 105 end
105 106  
106 107 group :heroku, :production do
... ...
Gemfile.lock
... ... @@ -83,7 +83,14 @@ GEM
83 83 childprocess (0.3.5)
84 84 ffi (~> 1.0, >= 1.0.6)
85 85 coderay (1.0.6)
  86 + colorize (0.5.8)
86 87 columnize (0.3.6)
  88 + coveralls (0.5.7)
  89 + colorize
  90 + json
  91 + rest-client
  92 + simplecov (>= 0.7)
  93 + thor
87 94 crack (0.3.1)
88 95 css_parser (1.2.6)
89 96 addressable
... ... @@ -303,6 +310,10 @@ GEM
303 310 multi_json (~> 1.0)
304 311 rubyzip
305 312 simple_oauth (0.1.9)
  313 + simplecov (0.7.1)
  314 + multi_json (~> 1.0)
  315 + simplecov-html (~> 0.7.1)
  316 + simplecov-html (0.7.1)
306 317 slop (2.4.4)
307 318 sprockets (2.2.2)
308 319 hike (~> 1.2)
... ... @@ -358,6 +369,7 @@ DEPENDENCIES
358 369 campy
359 370 capistrano
360 371 capybara
  372 + coveralls
361 373 database_cleaner (~> 0.6.0)
362 374 debugger
363 375 devise (~> 1.5.4)
... ...
spec/spec_helper.rb
... ... @@ -8,6 +8,9 @@ require 'webmock/rspec'
8 8 require 'xmpp4r'
9 9 require 'xmpp4r/muc'
10 10  
  11 +require 'coveralls'
  12 +Coveralls.wear!
  13 +
11 14 # Requires supporting files with custom matchers and macros, etc,
12 15 # in ./support/ and its subdirectories.
13 16 Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}
... ...