spec/spec_helper.rb in thebigdb-1.1.0 vs spec/spec_helper.rb in thebigdb-1.2.0
- old
+ new
@@ -6,9 +6,11 @@
config.order = "random"
config.before(:each) do
TheBigDB::DEFAULT_CONFIGURATION["api_host"] = "fake.test.host"
TheBigDB.reset_default_configuration
+
+ @request_path = ->(action){ /#{TheBigDB.api_host}\/v#{TheBigDB.api_version}\/statements\/#{action}/ }
end
config.after(:each) do
TheBigDB.reset_default_configuration
end
\ No newline at end of file