Sha256: f706f08710d091d79b443690ff74a68785056fc6c6a5e7b71e2df4dcca307239
Contents?: true
Size: 653 Bytes
Versions: 10
Compression:
Stored size: 653 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-documentation #{args}", false) end def reek_with_pipe(stdin, args) run "reek --no-color --no-documentation #{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
10 entries across 8 versions & 2 rubygems