Module: Satorix::CI::Test::Ruby::RailsTest

Extended by:
RailsTest
Includes:
Shared::Console
Included in:
RailsTest
Defined in:
lib/satorix/CI/test/ruby/rails_test.rb

Instance Method Summary collapse

Methods included from Shared::Console

#colorize, #colors, #humanize_time, #log, #log_bench, #log_command, #log_duration, #log_error, #log_error_and_abort, #log_header, #run_command, #source_env_from

Instance Method Details

#goObject



12
13
14
15
# File 'lib/satorix/CI/test/ruby/rails_test.rb', line 12

def go
  log_bench('Displaying current Ruby version...') { run_command(%w[ruby -v]) }
  log_bench('Running Rails test...') { run_scan }
end

#run_scanObject



18
19
20
# File 'lib/satorix/CI/test/ruby/rails_test.rb', line 18

def run_scan
  run_command(%w[rails test])
end