Class: Spring::Commands::RSpec
- Inherits:
-
Object
- Object
- Spring::Commands::RSpec
- 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 |
#env ⇒ Object
41 42 43 |
# File 'lib/spring/commands.rb', line 41 def env "test" end |
#setup ⇒ Object
45 46 47 48 |
# File 'lib/spring/commands.rb', line 45 def setup $LOAD_PATH.unshift "spec" require "spec_helper" end |