Merge pull request #7003 from MikeMcQuaid/system_command_result_spec_fix
system_command_result_spec: fix frozen objects.
This commit is contained in:
commit
76132dbdae
@ -120,7 +120,7 @@ describe SystemCommand::Result do
|
|||||||
|
|
||||||
context "when verbose" do
|
context "when verbose" do
|
||||||
before do
|
before do
|
||||||
allow(Homebrew.args).to receive(:verbose?).and_return(true)
|
allow(Homebrew).to receive(:args).and_return(OpenStruct.new("verbose?" => true))
|
||||||
end
|
end
|
||||||
|
|
||||||
it "warns about garbage" do
|
it "warns about garbage" do
|
||||||
@ -144,7 +144,7 @@ describe SystemCommand::Result do
|
|||||||
|
|
||||||
context "when verbose" do
|
context "when verbose" do
|
||||||
before do
|
before do
|
||||||
allow(Homebrew.args).to receive(:verbose?).and_return(true)
|
allow(Homebrew).to receive(:args).and_return(OpenStruct.new("verbose?" => true))
|
||||||
end
|
end
|
||||||
|
|
||||||
it "warns about garbage" do
|
it "warns about garbage" do
|
||||||
|
Loading…
x
Reference in New Issue
Block a user