Class: Spring::Commands::Cucumber

Inherits:
Command
  • Object
show all
Defined in:
lib/spring/commands.rb

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

#descriptionObject



132
133
134
# File 'lib/spring/commands.rb', line 132

def description
  "Execute a Cucumber feature."
end

#envObject



119
120
121
# File 'lib/spring/commands.rb', line 119

def env
  "test"
end

#setupObject



123
124
125
126
# File 'lib/spring/commands.rb', line 123

def setup
  super
  require 'cucumber'
end