spec/generators/graphql/interface_generator_spec.rb in graphql-1.8.6 vs spec/generators/graphql/interface_generator_spec.rb in graphql-1.8.7

- old
+ new

@@ -14,13 +14,15 @@ # Mixed ["BirdType", "wingspan:!Int", "foliage:[Color]"], ] expected_content = <<-RUBY -module Types::BirdType - include Types::BaseInterface - field :wingspan, Integer, null: false - field :foliage, [Types::ColorType], null: true +module Types + module BirdType + include Types::BaseInterface + field :wingspan, Integer, null: false + field :foliage, [Types::ColorType], null: true + end end RUBY commands.each do |c| prepare_destination