Skip to content

Commit

Permalink
corrected spec and load order
Browse files Browse the repository at this point in the history
  • Loading branch information
mrhardikjoshi committed Dec 29, 2023
1 parent f8fcec5 commit 214170d
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 3 deletions.
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require_relative '../../source_path_helper'
require_relative '../../migration_helper'
require_relative '../../source_path_helper'

module ActiveGraph
module Generators
Expand Down
2 changes: 1 addition & 1 deletion lib/rails/generators/active_graph/model/model_generator.rb
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require_relative '../../source_path_helper'
require_relative '../../migration_helper'
require_relative '../../source_path_helper'

class ActiveGraph::Generators::ModelGenerator < Rails::Generators::NamedBase #:nodoc:
include ActiveGraph::Generators::SourcePathHelper
Expand Down
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
require_relative '../../source_path_helper'
require_relative '../../migration_helper'
require_relative '../../source_path_helper'

module ActiveGraph
module Generators
Expand Down
1 change: 1 addition & 0 deletions spec/e2e/generators_spec.rb
Original file line number Diff line number Diff line change
@@ -1,3 +1,4 @@
require 'rails/generators'
require 'rails/generators/active_graph/model/model_generator'
require 'rails/generators/active_graph/migration/migration_generator'
require 'rails/generators/active_graph/upgrade_v8/upgrade_v8_generator'
Expand Down

0 comments on commit 214170d

Please sign in to comment.