Class: Spring::Commands::RSpec

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

Instance Method Summary collapse

Instance Method Details

#call(args) ⇒ Object



50
51
52
# File 'lib/spring/commands.rb', line 50

def call(args)
  ::RSpec::Core::Runner.run(args)
end

#envObject



41
42
43
# File 'lib/spring/commands.rb', line 41

def env
  "test"
end

#setupObject



45
46
47
48
# File 'lib/spring/commands.rb', line 45

def setup
  $LOAD_PATH.unshift "spec"
  require "spec_helper"
end