Sha256: ed140ff6c15eb360691a5b64544572e71e7cf360a1fc395bcf0582d5aab0a0f3
Contents?: true
Size: 587 Bytes
Versions: 44
Compression:
Stored size: 587 Bytes
Contents
require 'foreman_tasks_test_helper' module Queries class TasksQueryTest < GraphQLQueryTestCase let(:query) do <<-GRAPHQL query { tasks { nodes { id action result } } } GRAPHQL end let(:data) { result['data']['tasks'] } setup do FactoryBot.create_list(:some_task, 2) end test "should fetch recurring logics" do assert_empty result['errors'] expected_count = ::ForemanTasks::Task.count assert_not_equal 0, expected_count end end end
Version data entries
44 entries across 44 versions & 1 rubygems