spec/direct_commands_spec.rb in lignite-0.3.0 vs spec/direct_commands_spec.rb in lignite-0.4.0
- old
+ new
@@ -14,9 +14,10 @@
it "correctly runs #{base}.rb" do
allow_any_instance_of(Lignite::DirectCommands).to receive(:sleep)
ENV["LIGNITE_REPLAY"] = replay_yml
expect { load(script) }.not_to raise_error
+ ENV["LIGNITE_REPLAY"] = nil
end
end
it_behaves_like "example runner", "hello"
it_behaves_like "example runner", "lights"