diff options
Diffstat (limited to 'spec/graphql/resolvers/packages_resolver_spec.rb')
-rw-r--r-- | spec/graphql/resolvers/packages_resolver_spec.rb | 17 |
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/graphql/resolvers/packages_resolver_spec.rb b/spec/graphql/resolvers/packages_resolver_spec.rb deleted file mode 100644 index bc0588daf7f..00000000000 --- a/spec/graphql/resolvers/packages_resolver_spec.rb +++ /dev/null @@ -1,17 +0,0 @@ -# frozen_string_literal: true - -require 'spec_helper' - -RSpec.describe Resolvers::PackagesResolver do - include GraphqlHelpers - - let_it_be(:user) { create(:user) } - let_it_be(:project) { create(:project, :public) } - let_it_be(:package) { create(:package, project: project) } - - describe '#resolve' do - subject(:packages) { resolve(described_class, ctx: { current_user: user }, obj: project) } - - it { is_expected.to contain_exactly(package) } - end -end |