From e4960d4f7a438ab090245a7e2bedd033893703c0 Mon Sep 17 00:00:00 2001 From: Cesar Tonnoir Date: Wed, 13 Sep 2017 13:35:16 +1000 Subject: [PATCH] require rspec/core before custom matchers inclusion --- lib/jsonapi/resources/matchers/integrations/rspec.rb | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/jsonapi/resources/matchers/integrations/rspec.rb b/lib/jsonapi/resources/matchers/integrations/rspec.rb index 98316fd..78fd3e2 100644 --- a/lib/jsonapi/resources/matchers/integrations/rspec.rb +++ b/lib/jsonapi/resources/matchers/integrations/rspec.rb @@ -1,4 +1,5 @@ if defined?(RSpec) + require 'rspec/core' RSpec.configure do |c| c.include JSONAPI::Resources::Matchers, type: :resource end