Skip to content
This repository was archived by the owner on Jun 2, 2021. It is now read-only.

Commit 5334533

Browse files
v3(services): change test to use db_spec_helper.
[#174540070](https://www.pivotaltracker.com/story/show/174540070)
1 parent 62c35f4 commit 5334533

4 files changed

Lines changed: 6 additions & 1 deletion

File tree

app/actions/service_route_binding_create.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'services/service_brokers/service_client_provider'
2+
13
module VCAP::CloudController
24
module V3
35
class ServiceRouteBindingCreate

app/models/services/route_binding.rb

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
1+
require 'cloud_controller/process_route_handler'
2+
13
module VCAP::CloudController
24
class RouteBinding < Sequel::Model
35
plugin :after_initialize

app/repositories/app_usage_event_repository.rb

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
require 'database/old_record_cleanup'
2+
require 'cloud_controller/url_secret_obfuscator'
23

34
module VCAP::CloudController
45
module Repositories

spec/unit/actions/service_route_binding_create_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
require 'spec_helper'
1+
require 'db_spec_helper'
22
require 'actions/service_route_binding_create'
33

44
module VCAP::CloudController

0 commit comments

Comments
 (0)