spec/spec_helper.rb in looksist-0.1.9 vs spec/spec_helper.rb in looksist-0.2.0
- old
+ new
@@ -1,13 +1,26 @@
require 'active_support/all'
require 'faraday_middleware'
require 'her'
require 'ostruct'
+require 'pry'
+require 'simplecov'
+require 'coveralls'
+
+SimpleCov.formatter = SimpleCov::Formatter::MultiFormatter[
+ SimpleCov::Formatter::HTMLFormatter,
+ Coveralls::SimpleCov::Formatter
+]
+
+SimpleCov.start do
+ add_filter '/spec/'
+ add_filter '/features/'
+end
+
require 'looksist'
require 'looksist/redis_service'
require 'looksist/hashed'
require 'looksist/safe_lru_cache'
-require 'pry'
module Her
module Model
def as_json(opts={})
attributes