Skip to content

Commit

Permalink
WIP
Browse files Browse the repository at this point in the history
  • Loading branch information
joseivanlopez committed Nov 27, 2020
1 parent b2b3060 commit 1be03d8
Show file tree
Hide file tree
Showing 5 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion src/lib/y2storage/filesystems/type.rb
Expand Up @@ -144,7 +144,7 @@ class Type
bitlocker: {
name: "BitLocker"
},
tmpfs: {
tmpfs: {
name: "Tmpfs"
}
}
Expand Down
2 changes: 1 addition & 1 deletion test/y2partitioner/dialogs/blk_device_resize_test.rb
Expand Up @@ -110,7 +110,7 @@ def find_label(contents, text)
end

it "shows multi-device Btrfs information" do
label = find_label(subject.contents, "Part of BtrFS")
label = find_label(subject.contents, "Part of Btrfs")
expect(label).to_not be_nil
end

Expand Down
6 changes: 3 additions & 3 deletions test/y2partitioner/widgets/columns/type_test.rb
Expand Up @@ -59,7 +59,7 @@
let(:device) { blk_filesystem }

it "returns its human readable type" do
expect(subject.value_for(device)).to include("BtrFS")
expect(subject.value_for(device)).to include("Btrfs")
end
end

Expand All @@ -68,8 +68,8 @@
let(:filesystem) { devicegraph.find_by_name("/dev/sda2").filesystem }
let(:device) { filesystem.btrfs_subvolumes.first }

it "returns 'BtrFS Subvolume'" do
expect(label).to eq("BtrFS Subvolume")
it "returns 'Btrfs Subvolume'" do
expect(label).to eq("Btrfs Subvolume")
end
end

Expand Down
6 changes: 3 additions & 3 deletions test/y2partitioner/widgets/pages/btrfs_test.rb
Expand Up @@ -77,7 +77,7 @@
it "shows a table containing only the Btrfs" do
expect(table).to_not be_nil

expect(remove_sort_keys(items)).to eq ["BtrFS sdb2"]
expect(remove_sort_keys(items)).to eq ["Btrfs sdb2"]
end
end
end
Expand All @@ -89,11 +89,11 @@
include_examples "CWM::Tab"

describe "#contents" do
it "shows a table with the BtrFS and its devices" do
it "shows a table with the Btrfs and its devices" do
expect(table).to_not be_nil

expect(remove_sort_keys(items)).to contain_exactly(
"BtrFS sdb2",
"Btrfs sdb2",
"/dev/sdb2"
)
end
Expand Down
2 changes: 1 addition & 1 deletion test/y2storage/filesystems/blk_filesystem_test.rb
Expand Up @@ -431,7 +431,7 @@
let(:dev_name) { "/dev/sdb1" }

it "returns a name representing the filesystem" do
expect(subject.display_name).to match(/BtrFS over .* devices .*/)
expect(subject.display_name).to match(/Btrfs over .* devices .*/)
end
end

Expand Down

0 comments on commit 1be03d8

Please sign in to comment.