Skip to content

Commit

Permalink
re-add coveralls to the project
Browse files Browse the repository at this point in the history
  • Loading branch information
eliotjordan committed Apr 20, 2016
1 parent 391b366 commit 1bd930a
Show file tree
Hide file tree
Showing 5 changed files with 17 additions and 48 deletions.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -10,3 +10,4 @@ test/dummy/.sass-cache
.internal_test_app
fcrepo4-data
Gemfile.lock
coverage
11 changes: 4 additions & 7 deletions Gemfile
Original file line number Diff line number Diff line change
Expand Up @@ -5,13 +5,10 @@ source 'https://rubygems.org'
# development dependencies will be added by default to the :development group.
gemspec

# Declare any dependencies that are still in development here instead of in
# your gemspec. These might include edge Rails or gems from your path or
# Git. Remember to move these dependencies to your gemspec before releasing
# your gem to rubygems.org.

# To use a debugger
# gem 'byebug', group: [:development, :test]
group :development, :test do
gem 'simplecov', '~> 0.9', require: false
gem 'coveralls', require: false
end

# BEGIN ENGINE_CART BLOCK
# engine_cart: 0.8.2
Expand Down
19 changes: 0 additions & 19 deletions app/processors/geo_concerns/processors/raster/simple.rb

This file was deleted.

22 changes: 0 additions & 22 deletions app/processors/geo_concerns/processors/vector/simple.rb

This file was deleted.

12 changes: 12 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,17 @@
require 'simplecov'
if ENV['CI']
require 'coveralls'
SimpleCov.formatter = Coveralls::SimpleCov::Formatter
end
SimpleCov.start('rails') do
add_filter '/spec'
add_filter '/.internal_test_app'
add_filter '/lib/generators'
end

require 'engine_cart'
require 'pry'

ENV['RAILS_ENV'] ||= 'test'
EngineCart.load_application!
Dir['./spec/support/**/*.rb'].sort.each { |f| require f }
Expand Down

0 comments on commit 1bd930a

Please sign in to comment.