2021-06-08 01:23:25 +05:30
|
|
|
# frozen_string_literal: true
|
|
|
|
|
|
|
|
require 'spec_helper'
|
|
|
|
|
|
|
|
RSpec.describe Resolvers::PackagesBaseResolver do
|
|
|
|
include GraphqlHelpers
|
|
|
|
|
|
|
|
describe '#resolve' do
|
2022-07-23 23:45:48 +05:30
|
|
|
subject { resolve(described_class, arg_style: :internal) }
|
2021-06-08 01:23:25 +05:30
|
|
|
|
|
|
|
it 'throws an error' do
|
|
|
|
expect { subject }.to raise_error(NotImplementedError)
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|