Skip to content

Commit

Permalink
tweak storeconfigs_backend_spec
Browse files Browse the repository at this point in the history
  • Loading branch information
ngrundy committed Sep 12, 2024
1 parent 0fdfde6 commit baacd69
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,8 @@
describe OctocatalogDiff::Cli::Options do
describe '#opt_storeconfigs_backend' do
it 'should accept all valid arguments' do
result = run_optparse(['--storeconfigs-backend', 'puppetdb,yaml,json'])
expect(result[:validate_references]).to eq(%w(puppetdb yaml json))
result = run_optparse(['--storeconfigs-backend', 'puppetdb'])
expect(result[:storeconfigs_backend]).to eq('puppetdb')
end
end
end

0 comments on commit baacd69

Please sign in to comment.