spec/spec_helper.rb in europeana-feedback-button-0.0.4 vs spec/spec_helper.rb in europeana-feedback-button-0.0.5
- old
+ new
@@ -1,10 +1,13 @@
+# frozen_string_literal: true
ENV['RAILS_ENV'] ||= 'test'
-require 'coveralls'
-Coveralls.wear! unless Coveralls.will_run?.nil?
+require 'simplecov'
+# Generate Simplecov report
+SimpleCov.start
+
require File.expand_path('../dummy/config/environment.rb', __FILE__)
require 'rspec/rails'
require 'shoulda/matchers'
# Requires supporting ruby files with custom matchers and macros, etc,
@@ -17,6 +20,6 @@
config.order = 'random'
config.expect_with :rspec do |c|
c.syntax = :expect
end
-end
\ No newline at end of file
+end