spec/spec_helper.rb in simple-httpd-0.3.4 vs spec/spec_helper.rb in simple-httpd-0.3.5
- old
+ new
@@ -31,10 +31,12 @@
end
Dir.glob("./spec/support/**/*.rb").sort.each { |path| load path }
require "simple/httpd"
-
+#Simple::Httpd.env = "test"
+if ::Simple::Httpd.env == "development"
+end
RSpec.configure do |config|
config.run_all_when_everything_filtered = true
config.filter_run focus: (ENV["CI"] != "true")
config.expect_with(:rspec) { |c| c.syntax = :expect }
config.order = "random"