# Then, we can check specific edge cases for this resolver
context'with obj set to nil'do
let(:obj){nil}
it'raises an error'do
expect{subject}.toraise_error('Expected group missing')
end
end
context'with obj not set to group'do
let(:obj){build(:project)}
it'raises an error'do
expect{subject}.toraise_error('Expected group missing')
end
end
# Here we have a mocked part. We assume that all possible edge cases are covered in RunnersFinder spec. So we don't need to test them twice.
# Only thing we can do is to verify that args from the resolver is correctly transformed to params of the Finder and we return the Finder's result back.