spec/unit/omnibus_spec.rb in omnibus-6.1.7 vs spec/unit/omnibus_spec.rb in omnibus-6.1.9

- old
+ new

@@ -13,10 +13,10 @@ .with("custom-omnibus-software") .and_return([double(gem_dir: File.join(tmp_path, "/gem/custom-omnibus-software"))]) Omnibus::Config.project_root(File.join(tmp_path, "/foo/bar")) Omnibus::Config.local_software_dirs([File.join(tmp_path, "/local"), File.join(tmp_path, "/other")]) - Omnibus::Config.software_gems(["omnibus-software", "custom-omnibus-software"]) + Omnibus::Config.software_gems(%w{omnibus-software custom-omnibus-software}) end describe "#which" do it "returns nil when the file does not exist" do stub_env("PATH", nil)