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