Class: Spring::Commands::Cucumber
Instance Method Summary
collapse
Methods inherited from Command
preloads, #preloads, preloads=
Instance Method Details
#call(args) ⇒ Object
128
129
130
|
# File 'lib/spring/commands.rb', line 128
def call(args)
::Cucumber::Cli::Main.execute(args)
end
|
#description ⇒ Object
132
133
134
|
# File 'lib/spring/commands.rb', line 132
def description
"Execute a Cucumber feature."
end
|
#env ⇒ Object
119
120
121
|
# File 'lib/spring/commands.rb', line 119
def env
"test"
end
|
#setup ⇒ Object
123
124
125
126
|
# File 'lib/spring/commands.rb', line 123
def setup
super
require 'cucumber'
end
|