Sha256: 90e16e1815fc32d49817796342fccb9718e002961e96c6ab6d47e9346d0f1f7e
Contents?: true
Size: 784 Bytes
Versions: 7
Compression:
Stored size: 784 Bytes
Contents
# frozen_string_literal: true require File.join(File.dirname(__FILE__), 'test_helper') describe 'config_group' do describe 'list' do before do @cmd = %w[config-group list] @config_groups = [{ id: 1, name: 'config-group-test', }] end it 'should return a list of config groups' do api_expects(:config_groups, :index, 'List config groups').returns(@config_groups) output = IndexMatcher.new([ %w[ID NAME], %w[1 config-group-test] ]) expected_result = success_result(output) result = run_cmd(@cmd) assert_cmd(expected_result, result) end end end
Version data entries
7 entries across 7 versions & 1 rubygems