logo

mastofe

My custom branche(s) on git.pleroma.social/pleroma/mastofe
commit: b330d1f000ef354a856c43aeaa27e079c89fc822
parent: 447b8bc44eb33ae6ffdfbcc7ae52fbe0bba93ece
Author: Matt Jankowski <mjankowski@thoughtbot.com>
Date:   Thu, 13 Apr 2017 10:00:31 -0400

Organize coverage dirs (#1695)

* Add `Presenters` group to SimpleCov configuration

* Move validators to app/validators, add to simplecov config

Diffstat:

Rapp/lib/email_validator.rb -> app/validators/email_validator.rb0
Rapp/lib/status_length_validator.rb -> app/validators/status_length_validator.rb0
Rapp/lib/url_validator.rb -> app/validators/url_validator.rb0
Mspec/spec_helper.rb4+++-
4 files changed, 3 insertions(+), 1 deletion(-)

diff --git a/app/lib/email_validator.rb b/app/validators/email_validator.rb diff --git a/app/lib/status_length_validator.rb b/app/validators/status_length_validator.rb diff --git a/app/lib/url_validator.rb b/app/validators/url_validator.rb diff --git a/spec/spec_helper.rb b/spec/spec_helper.rb @@ -1,7 +1,9 @@ require 'simplecov' SimpleCov.start 'rails' do - add_group "Services", "app/services" + add_group 'Services', 'app/services' + add_group 'Presenters', 'app/presenters' + add_group 'Validators', 'app/validators' end RSpec.configure do |config|