lib/spec/runner/context_runner.rb in rspec-0.5.2 vs lib/spec/runner/context_runner.rb in rspec-0.5.3
- old
+ new
@@ -2,11 +2,11 @@
module Spec
module Runner
class ContextRunner
- def self.standalone context
- context_runner = ContextRunner.new(ARGV, true)
+ def self.standalone(context, args=ARGV)
+ context_runner = ContextRunner.new(args, true)
context_runner.add_context context
context_runner.run
end
def initialize(args, standalone=false, err=$stderr)