Skip to content

Commit

Permalink
make rubocop happy
Browse files Browse the repository at this point in the history
  • Loading branch information
jreidinger committed Sep 16, 2015
1 parent 4521b34 commit 1c83cda
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions test/udev_mapping_test.rb
Expand Up @@ -19,7 +19,7 @@
end

it "returns mapped raid name for partitioned devices" do
allow(Yast::Storage).to receive(:GetContVolInfo) do |dev, info|
allow(Yast::Storage).to receive(:GetContVolInfo) do |_dev, info|
info.value["vdevice"] = "/dev/md126p1"
info.value["cdevice"] = ""
true
Expand All @@ -29,7 +29,7 @@
end

it "returns mapped raid name for non-partitioned devices" do
allow(Yast::Storage).to receive(:GetContVolInfo) do |dev, info|
allow(Yast::Storage).to receive(:GetContVolInfo) do |_dev, info|
info.value["vdevice"] = ""
info.value["cdevice"] = "/dev/md126"
true
Expand Down

0 comments on commit 1c83cda

Please sign in to comment.