spec/unit/util/collection.rb in facter-1.5.2 vs spec/unit/util/collection.rb in facter-1.5.3
- old
+ new
@@ -112,11 +112,11 @@
end
it "should be case-insensitive" do
@coll.fact("yayness").should equal(@fact)
end
-
+
it "should treat strings and symbols equivalently" do
@coll.fact(:yayness).should equal(@fact)
end
it "should use its loader to try to load the fact if no fact can be found" do
@@ -154,10 +154,10 @@
end
it "should be case-insensitive" do
@coll.value("yayness").should_not be_nil
end
-
+
it "should treat strings and symbols equivalently" do
@coll.value(:yayness).should_not be_nil
end
end