Skip to content

Commit

Permalink
Added a fstab white space test
Browse files Browse the repository at this point in the history
  • Loading branch information
lslezak committed Apr 12, 2017
1 parent 65d6874 commit 629c406
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions library/general/test/agents_test/fstab_agent_test.rb
Expand Up @@ -21,7 +21,14 @@
root = File.join(File.dirname(__FILE__), "test_root2")
change_scr_root(root)
expect(content).to be_a(Array)
end

it "can read fstab containing whitespace lines" do
reset_scr_root
root = File.join(File.dirname(__FILE__), "test_root3")
change_scr_root(root)
# all lines are returned
expect(content.size).to eq(6)
end

it "returns an array containing nfs entries" do
Expand Down

0 comments on commit 629c406

Please sign in to comment.