lib/rspec_no_filter/plugin.rb
# A method that you can call from your Dangerfile
# @return   [Array<String>]
#
A method that you can call from your Dangerfile
A method that you can call from your Dangerfile
def tags_from_spec_helper
      `bundle exec ruby -r rspec -r ./spec/spec_helper -e "print RSpec.configuration.filter_run.merge(RSpec.configuration.filter_run_when_matching).keys.join(',')"`.split(",").map {|item| "\\:#{item}" }
    rescue
      []
    end
def tags_from_spec_helper ` bundle exec ruby -r rspec -r ./spec/spec_helper -e "print RSpec.configuration.filter_run.merge(RSpec.configuration.filter_run_when_matching).keys.join(',')" ` . split ( "," ) . map { | item | "\\:#{item}" } rescue [ ] end
A method that you can call from your Dangerfile
A method that you can call from your Dangerfile
None
Array<String>