Skip to content

Commit

Permalink
[CMB-501] correct paths
Browse files Browse the repository at this point in the history
  • Loading branch information
richseviora committed Feb 28, 2024
1 parent ca46f0c commit 22aa901
Show file tree
Hide file tree
Showing 35 changed files with 34 additions and 35 deletions.
2 changes: 1 addition & 1 deletion __tests__/Api/Address.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Address.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'api/addresses_api'
require 'models/address'
require 'models/address_editable'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/BankAccount.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BankAccount.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'api/bank_accounts_api'
require 'models/bank_account'
require 'models/bank_account_writable'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/BillingGroup.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BillingGroup.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'api/billing_groups_api'
require 'models/billing_group'
require 'models/billing_group_editable'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/Card.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Card.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "CardsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/CardOrder.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CardOrder.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "CardOrdersApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/Check.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Check.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "ChecksApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/IntlAutocompletion.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IntlAutcompletion.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "IntlAutocompletionsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/IntlVerification.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IntlVerification.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "IntlVerificationsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/Letter.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Letter.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "LettersApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/Postcard.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Postcard.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "PostcardsApi" do

Expand Down
1 change: 0 additions & 1 deletion __tests__/Api/Require.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,6 @@
# Require.unit.rb

RSpec.describe "Require" do

it "works with lob.rb" do
Object.send :remove_const, :Lob
paths = $".select do |path|
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/ReverseGeocodeLookup.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ReverseGeocodeLookup.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "ReverseGeocodeLookupsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/SelfMailer.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SelfMailer.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "SelfMailersApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/Template.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "TemplatesApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/TemplateVersion.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TemplateVersion.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "TemplateVersionsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/UsAutocompletion.unit.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# IntlAutcompletion.unit.rb

$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "UsAutocompletionsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/UsVerification.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UsVerification.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "UsVerificationsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Api/ZipLookup.unit.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# ZipLookup.unit.rb

include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "ZipLookupsApi" do

Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Address.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Address.unit.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'api/addresses_api'
require 'models/address'
require 'models/address_editable'
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/BankAccount.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BankAccount.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "BankAccountsApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/BillingGroup.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# BillingGroup.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "BillingGroupsApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Card.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Card.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "CardsApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/CardOrder.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# CardOrder.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "CardOrdersApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Check.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Check.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "ChecksApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/IntlAutocompletion.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IntlAutocompletion.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "IntlAutocompletionsApi" do
it "can be instantiated" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/IntlVerification.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# IntlVerification.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "IntlVerificationsApi" do
it "can be instantiated" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Letter.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Letter.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "LettersApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Postcard.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Postcard.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "Postcards Api" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/ReverseGeocodeLookup.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UsAutocompletion.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "ReverseGeocodeLookupsApi" do
it "can be instantiated" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/SelfMailer.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# SelfMailer.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "SelfMailersApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/Template.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# Template.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "TemplatesApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/TemplateVersion.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# TemplateVersion.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))
require 'uri'

RSpec.describe "TemplateVersionsApi" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/UsAutocompletion.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UsAutocompletion.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "UsAutocompletionsApi" do
it "can be instantiated" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/UsVerification.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UsVerification.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "UsVerificationsApi" do
it "can be instantiated" do
Expand Down
2 changes: 1 addition & 1 deletion __tests__/Integration/ZipLookup.spec.rb
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
# UsAutocompletion.spec.rb
require_relative '../TestFixtures'
include Lob
$:.unshift File.expand_path("../../lib/openapi_client", File.dirname(__FILE__))
$:.unshift File.expand_path("../../lib/lob", File.dirname(__FILE__))

RSpec.describe "ZipLookupsApi" do
it "can be instantiated" do
Expand Down

0 comments on commit 22aa901

Please sign in to comment.