We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent d4f134b commit b2f0c4dCopy full SHA for b2f0c4d
spec/octocatalog-diff/tests/cli/options/fact_file_spec.rb
@@ -51,6 +51,7 @@
51
52
describe '#opt_to_fact_file' do
53
let(:fact_file) { OctocatalogDiff::Spec.fixture_path('facts/facts.yaml') }
54
+
55
let(:fact_answer) do
56
{
57
'name' => 'rspec-node.xyz.github.net',
@@ -92,7 +93,7 @@
92
93
end
94
95
it 'should only define to-fact-file when only --to-fact-file is given' do
- result = run_optparse(['--from-fact-file', fact_file])
96
+ result = run_optparse(['--to-fact-file', fact_file])
97
expect(result[:from_facts]).to be_nil
98
expect(result[:to_facts].facts).to eq(fact_answer)
99
0 commit comments