lib/onceover/cli/run.rb in onceover-3.15.2 vs lib/onceover/cli/run.rb in onceover-3.16.0
- old
+ new
@@ -8,11 +8,11 @@
class Onceover
class CLI
class Run
def self.command
- @cmd ||= Cri::Command.define do
+ @command ||= Cri::Command.define do
name 'run'
usage 'run [spec|acceptance]'
summary 'Runs either the spec or acceptance tests'
description <<-DESCRIPTION
This will run the full set of spec or acceptance tests.
@@ -33,11 +33,11 @@
end
end
class Spec
def self.command
- @cmd ||= Cri::Command.define do
+ @command ||= Cri::Command.define do
name 'spec'
usage 'spec'
summary 'Runs spec tests'
optional :p, :parallel, 'Runs spec tests in parallel. This increases speed at the cost of poorly formatted logs and irrelevant junit output.'
@@ -54,10 +54,10 @@
end
end
class Acceptance
def self.command
- @cmd ||= Cri::Command.define do
+ @command ||= Cri::Command.define do
name 'acceptance'
usage 'acceptance'
summary 'Runs acceptance tests'
run do |opts, args, cmd|