Skip to content

Commit

Permalink
Post isn't used before Base definition, so move it down
Browse files Browse the repository at this point in the history
  • Loading branch information
kaspth committed Nov 4, 2023
1 parent d52bf60 commit b71ca71
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions test/test_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -34,15 +34,14 @@ def deliver_reminder!
end
end

module Post; end

class Base < Struct.new(:id)
extend ActiveJob::Performs
include GlobalID::Identification

singleton_class.alias_method :find, :new
end

module Post; end
class Post::Publisher < Base
singleton_class.attr_accessor :performed

Expand Down

0 comments on commit b71ca71

Please sign in to comment.