lib/stairs.rb in stairs-0.5.1 vs lib/stairs.rb in stairs-0.6.0
- old
+ new
@@ -8,17 +8,22 @@
autoload :Steps, "stairs/steps"
autoload :EnvAdapters, "stairs/env_adapters"
autoload :Configuration, "stairs/configuration"
autoload :InteractiveConfiguration, "stairs/interactive_configuration"
autoload :Util, "stairs/util"
+ autoload :Runner, "stairs/runner"
class << self
def configure
yield(configuration)
end
def configuration
@configuration ||= Configuration.new
+ end
+
+ def reset_configuration!
+ @configuration = Configuration.new
end
end
end
require "stairs/railtie" if defined?(Rails)