Sha256: 988d293b38963db0d98d9053a6b142a55d6b2e929dff93735b9077e6885da5b2
Contents?: true
Size: 438 Bytes
Versions: 4
Compression:
Stored size: 438 Bytes
Contents
module Retest class Command class Rails < Base def to_s if all root_command else "#{root_command} <test>" end end def format_batch(*files) files.join(' ') end private def root_command if file_system.exist? 'bin/rails' 'bin/rails test' else 'bundle exec rails test' end end end end end
Version data entries
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
retest-2.0.1 | lib/retest/command/rails.rb |
retest-2.0.0 | lib/retest/command/rails.rb |
retest-2.0.0.pre5 | lib/retest/command/rails.rb |
retest-2.0.0.pre4 | lib/retest/command/rails.rb |