added coveralls

This commit is contained in:
Joerg Reichert 2016-03-05 19:26:31 +01:00
parent af4c6e4cb4
commit 2fa90ec206
4 changed files with 26 additions and 0 deletions

View file

@ -34,6 +34,8 @@ gem 'elasticsearch'
gem 'elasticsearch-model' gem 'elasticsearch-model'
gem 'elasticsearch-dsl' gem 'elasticsearch-dsl'
gem 'tzinfo-data', platforms: [:mingw, :mswin, :x64_mingw]
# bundle exec rake doc:rails generates the API under doc/api. # bundle exec rake doc:rails generates the API under doc/api.
gem 'sdoc', '~> 0.4.0', group: :doc gem 'sdoc', '~> 0.4.0', group: :doc
@ -61,6 +63,7 @@ group :test do
gem 'simplecov', require: false gem 'simplecov', require: false
gem 'test_after_commit' # TODO remove when moving to rails 5 gem 'test_after_commit' # TODO remove when moving to rails 5
gem 'database_cleaner' gem 'database_cleaner'
gem 'coveralls', require: false
end end
# Use ActiveModel has_secure_password # Use ActiveModel has_secure_password

View file

@ -82,6 +82,7 @@ GEM
faraday (0.9.1) faraday (0.9.1)
multipart-post (>= 1.2, < 3) multipart-post (>= 1.2, < 3)
ffi (1.9.10) ffi (1.9.10)
ffi (1.9.10-x64-mingw32)
formatador (0.2.5) formatador (0.2.5)
foundation-rails (5.5.1.2) foundation-rails (5.5.1.2)
railties (>= 3.1.0) railties (>= 3.1.0)
@ -134,6 +135,8 @@ GEM
nenv (0.3.0) nenv (0.3.0)
nokogiri (1.6.6.2) nokogiri (1.6.6.2)
mini_portile (~> 0.6.0) mini_portile (~> 0.6.0)
nokogiri (1.6.6.2-x64-mingw32)
mini_portile (~> 0.6.0)
notiffany (0.0.8) notiffany (0.0.8)
nenv (~> 0.1) nenv (~> 0.1)
shellany (~> 0.0) shellany (~> 0.0)
@ -148,6 +151,11 @@ GEM
coderay (~> 1.1.0) coderay (~> 1.1.0)
method_source (~> 0.8.1) method_source (~> 0.8.1)
slop (~> 3.4) slop (~> 3.4)
pry (0.10.1-x64-mingw32)
coderay (~> 1.1.0)
method_source (~> 0.8.1)
slop (~> 3.4)
win32console (~> 1.3)
pry-rails (0.3.4) pry-rails (0.3.4)
pry (>= 0.9.10) pry (>= 0.9.10)
quiet_assets (1.1.0) quiet_assets (1.1.0)
@ -247,6 +255,7 @@ GEM
activesupport (>= 3.0) activesupport (>= 3.0)
sprockets (>= 2.8, < 4.0) sprockets (>= 2.8, < 4.0)
sqlite3 (1.3.10) sqlite3 (1.3.10)
sqlite3 (1.3.10-x64-mingw32)
temple (0.7.5) temple (0.7.5)
test_after_commit (0.4.2) test_after_commit (0.4.2)
activerecord (>= 3.2) activerecord (>= 3.2)
@ -257,17 +266,21 @@ GEM
coffee-rails coffee-rails
tzinfo (1.2.2) tzinfo (1.2.2)
thread_safe (~> 0.1) thread_safe (~> 0.1)
tzinfo-data (1.2015.7)
tzinfo (>= 1.0.0)
uglifier (2.7.1) uglifier (2.7.1)
execjs (>= 0.3.0) execjs (>= 0.3.0)
json (>= 1.8.0) json (>= 1.8.0)
validate_url (1.0.2) validate_url (1.0.2)
activemodel (>= 3.0.0) activemodel (>= 3.0.0)
addressable addressable
win32console (1.3.2)
xpath (2.0.0) xpath (2.0.0)
nokogiri (~> 1.3) nokogiri (~> 1.3)
PLATFORMS PLATFORMS
ruby ruby
x64-mingw32
DEPENDENCIES DEPENDENCIES
awesome_print awesome_print
@ -303,5 +316,9 @@ DEPENDENCIES
sqlite3 sqlite3
test_after_commit test_after_commit
turbolinks turbolinks
tzinfo-data
uglifier uglifier
validate_url validate_url
BUNDLED WITH
1.10.6

View file

@ -40,6 +40,9 @@ RSpec.configure do |config|
mocks.verify_partial_doubles = true mocks.verify_partial_doubles = true
end end
require 'coveralls'
Coveralls.wear!
# The settings below are suggested to provide a good initial experience # The settings below are suggested to provide a good initial experience
# with RSpec, but feel free to customize to your heart's content. # with RSpec, but feel free to customize to your heart's content.
=begin =begin

View file

@ -6,6 +6,9 @@ require File.expand_path('../../config/environment', __FILE__)
require 'rails/test_help' require 'rails/test_help'
require 'capybara/rails' require 'capybara/rails'
require 'coveralls'
Coveralls.wear!
class ActiveSupport::TestCase class ActiveSupport::TestCase
# Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order. # Setup all fixtures in test/fixtures/*.yml for all tests in alphabetical order.
# fixtures :all # fixtures :all