Fix failing spec

This commit is contained in:
Alberto Miedes Garcés
2017-01-08 14:27:20 +01:00
parent 398bc8c211
commit e1b3d468e5
2 changed files with 2 additions and 3 deletions

View File

@@ -3,8 +3,8 @@ require 'rails_helper'
describe GraphQL::QueryTypeCreator do
let(:api_type_definitions) do
{
ProposalNotification => { fields: { title: 'string' } },
Proposal => { fields: { id: 'integer', title: 'string' } }
ProposalNotification => { fields: { title: :string } },
Proposal => { fields: { id: :integer, title: :string } }
}
end
let(:api_types_creator) { GraphQL::ApiTypesCreator.new(api_type_definitions) }