spec/unit/action/runner_spec.rb in r10k-3.11.0 vs spec/unit/action/runner_spec.rb in r10k-3.12.0

- old
+ new

@@ -308,17 +308,9 @@ expect(PuppetForge::Connection).to receive(:authorization).and_return('faketoken') expect(R10K::Util::License).not_to receive(:load) runner.setup_settings runner.setup_authorization end - - it 'errors if no custom forge URL is set' do - options = { config: "spec/fixtures/unit/action/r10k_forge_auth_no_url.yaml" } - runner = described_class.new(options, %w[args yes], action_class) - expect(PuppetForge::Connection).not_to receive(:authorization=).with('faketoken') - - expect { runner.setup_settings }.to raise_error(R10K::Error, /Cannot specify a Forge auth/) - end end context "license auth" do context "when license is not present" do before(:each) do