Skip to content

Commit

Permalink
Merge pull request #4 from tampakrap/trivial
Browse files Browse the repository at this point in the history
trivial docstring commit
  • Loading branch information
vikraman committed Feb 4, 2015
2 parents 6bb35fd + f068e07 commit afe1f63
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions spec/unit/provider/fact/fact_spec.rb
Expand Up @@ -21,12 +21,12 @@
prop.should include(:target => "env")
end

context "it should handle invalid inputs" do
context "when inserting invalid content value" do
invalid_filenames = [nil, "", " ", "foo.bar", "/etc/facter/facts.d/foo.bar"]
invalid_contents = [nil, "", " ", "=", "foo=", "=bar"]

invalid_filenames.product(invalid_contents).each do |filename, content|
it "should parse (#{filename}, #{content}) to an empty hash" do
it "should parse (#{filename}, #{content}) as an empty hash" do
described_class.parse_file(filename, content).should == [{}]
end
end
Expand Down

0 comments on commit afe1f63

Please sign in to comment.