macos_runner_spec: fix test
This commit is contained in:
parent
1a86a91c1b
commit
0c21ad20cd
@ -3,10 +3,10 @@
|
|||||||
require "macos_runner_spec"
|
require "macos_runner_spec"
|
||||||
|
|
||||||
describe MacOSRunnerSpec do
|
describe MacOSRunnerSpec do
|
||||||
let(:spec) { described_class.new(name: "macOS 11-arm64", runner: "11-arm64", cleanup: true) }
|
let(:spec) { described_class.new(name: "macOS 11-arm64", runner: "11-arm64", timeout: 90, cleanup: true) }
|
||||||
|
|
||||||
it "has immutable attributes" do
|
it "has immutable attributes" do
|
||||||
[:name, :runner, :cleanup].each do |attribute|
|
[:name, :runner, :timeout, :cleanup].each do |attribute|
|
||||||
expect(spec.respond_to?("#{attribute}=")).to be(false)
|
expect(spec.respond_to?("#{attribute}=")).to be(false)
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user