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