Skip to content

Commit

Permalink
Remove redundant gds_zendesk references
Browse files Browse the repository at this point in the history
The functionality/implementation was removed in:
- 8c64eab
- 81fe797
  • Loading branch information
AgaDufrat committed Aug 15, 2024
1 parent 235d0d5 commit dd98b9a
Show file tree
Hide file tree
Showing 6 changed files with 0 additions and 30 deletions.
2 changes: 0 additions & 2 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,8 +23,6 @@ public/assets
# Ignore Byebug command history file.
.byebug_history

config/zendesk.yml

# Ignore RSpec state file
/spec/examples.txt

Expand Down
3 changes: 0 additions & 3 deletions app/controllers/change_existing_user_requests_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
require "gds_zendesk/users"
require "zendesk_api/error"

class ChangeExistingUserRequestsController < RequestsController
protected

Expand Down
3 changes: 0 additions & 3 deletions app/controllers/create_new_user_requests_controller.rb
Original file line number Diff line number Diff line change
@@ -1,6 +1,3 @@
require "gds_zendesk/users"
require "zendesk_api/error"

class CreateNewUserRequestsController < RequestsController
include ExploreHelper

Expand Down
13 changes: 0 additions & 13 deletions config/initializers/gds_zendesk.rb

This file was deleted.

7 changes: 0 additions & 7 deletions spec/support/gds_zendesk_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "gds_zendesk/test_helpers"

module SupportApiMockingExtensions
def expect_support_api_to_receive_raise_ticket(opts)
stub_support_api_valid_raise_support_ticket(hash_including(opts))
Expand All @@ -21,10 +19,5 @@ def stub_custom_fields_data(opts = [])
end

RSpec.configure do |c|
c.include GDSZendesk::TestHelpers
c.include SupportApiMockingExtensions

c.before(:context) do
self.valid_zendesk_credentials = ZENDESK_CREDENTIALS
end
end
2 changes: 0 additions & 2 deletions spec/support/json_helpers.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,3 @@
require "gds_zendesk/test_helpers"

# rubocop:disable Rails/HttpPositionalArguments
module JsonHelpers
def json_response
Expand Down

0 comments on commit dd98b9a

Please sign in to comment.