Skip to content

Commit

Permalink
Use zeitwerk/bundler friendly namespaced gem 'require'
Browse files Browse the repository at this point in the history
We already have lib/manageiq/api.rb which will be required by bundler.  There is
no need for lib/manageiq-api.rb, especially because it doesn't follow
rails/zeitwerk conventions for namespaces.
  • Loading branch information
jrafanie committed Apr 20, 2023
1 parent f7affb8 commit a4d0cd7
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 3 deletions.
2 changes: 0 additions & 2 deletions lib/manageiq-api.rb

This file was deleted.

2 changes: 1 addition & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
Dir[Rails.root.join("spec/shared/**/*.rb")].each { |f| require f }
Dir[File.join(__dir__, "support/**/*.rb")].each { |f| require f }

require "manageiq-api"
require "manageiq/api"

RSpec.configure do |config|
config.include Spec::Support::Api::Helpers, :type => :request
Expand Down

0 comments on commit a4d0cd7

Please sign in to comment.