Fixed style errors
This commit is contained in:
parent
7cd5d143c3
commit
cf5db0e0df
@ -11,14 +11,14 @@ describe Language::Node do
|
|||||||
describe "#pack_for_installation" do
|
describe "#pack_for_installation" do
|
||||||
it "raises error with non zero exitstatus" do
|
it "raises error with non zero exitstatus" do
|
||||||
shutup do
|
shutup do
|
||||||
expect{described_class.pack_for_installation}.to raise_error
|
expect { described_class.pack_for_installation }.to raise_error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
it "does not raise error with a zero exitstatus" do
|
it "does not raise error with a zero exitstatus" do
|
||||||
shutup do
|
shutup do
|
||||||
allow_any_instance_of(Process::Status).to receive(:exitstatus).and_return(0)
|
allow_any_instance_of(Process::Status).to receive(:exitstatus).and_return(0)
|
||||||
expect{described_class.pack_for_installation}.not_to raise_error
|
expect { described_class.pack_for_installation }.not_to raise_error
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
@ -53,5 +53,4 @@ describe Language::Node do
|
|||||||
expect(resp).to eq(["--verbose"])
|
expect(resp).to eq(["--verbose"])
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
end
|
end
|
Loading…
x
Reference in New Issue
Block a user