Skip to content

Commit

Permalink
Solara
Browse files Browse the repository at this point in the history
  • Loading branch information
MalekKamel committed Sep 23, 2024
1 parent 507423a commit 294a8ab
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion solara/lib/spec/solara_cli_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -119,7 +119,7 @@
allow(cli).to receive(:options).and_return({ 'brand_key' => 'fail_key' })
expect(cli).to receive(:check_project_health)
expect(cli).to receive(:validate_brand_key).with('fail_key').and_return('fail_key')
expect_any_instance_of(SolaraManager).to receive(:switch).and_raise(StandardError)
expect_any_instance_of(SolaraManager).to receive(:switch).and_raise(Issue.error(''))
expect(Solara.logger).to receive(:fatal).with("Switching to fail_key failed.")
expect { cli.switch }.to raise_error(SystemExit)
end
Expand Down

0 comments on commit 294a8ab

Please sign in to comment.