Skip to content

Commit 6af36dc

Browse files
committed
Fixed broken specs
1 parent aa762c0 commit 6af36dc

File tree

2 files changed

+1
-2
lines changed

2 files changed

+1
-2
lines changed

lib/graphiti/scoping/filter_group_validator.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,6 @@ def raise_unless_any_requirements_met!
5959
end
6060
end
6161

62-
6362
def filter_group_names
6463
grouped_filters.fetch(:names, [])
6564
end

spec/filter_group_validator_spec.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
require "spec_helper"
22

33
RSpec.describe Graphiti::Scoping::FilterGroupValidator do
4-
let(:resource) { double(:resource) }
4+
let(:resource) { double(:resource, type: :employees) }
55
let(:query_hash) { {} }
66
let(:validator) { described_class.new(resource, query_hash) }
77

0 commit comments

Comments
 (0)