Skip to content

Commit

Permalink
Fix System.downloader specs
Browse files Browse the repository at this point in the history
  • Loading branch information
moozzi authored and postmodern committed Aug 24, 2024
1 parent 2408434 commit 262ecdc
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions spec/system_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -98,6 +98,8 @@
end

context "otherwise" do
before { expect(subject).to receive(:os).and_return(:linux) }

context "when both wget and curl are installed" do
before do
expect(subject).to receive(:installed?).with('wget').and_return(true)
Expand Down

0 comments on commit 262ecdc

Please sign in to comment.