Sha256: 5304dcba392aff3c428c00de2a6a00a52c9c6ce981a5d951efb2b015fb038cda
Contents?: true
Size: 647 Bytes
Versions: 1
Compression:
Stored size: 647 Bytes
Contents
require_relative '../../lib/reek' require_relative '../../lib/reek/cli/application' require 'aruba/cucumber' require 'active_support/core_ext/string/strip' begin require 'pry-byebug' rescue LoadError # rubocop:disable Lint/HandleExceptions end # # Provides runner methods used in the cucumber steps. # class ReekWorld def reek(args) run_simple("reek --no-color --no-wiki-links #{args}", false) end def reek_with_pipe(stdin, args) run "reek --no-color --no-wiki-links #{args}" type(stdin) close_input end end World do ReekWorld.new end Before do Aruba.configure do |config| config.exit_timeout = 30 end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
reek-4.8.2 | features/support/env.rb |