Report abuse


			
  it "returns false on empty strings or all comments" do
    YAML.load("").should == false
    YAML.load("# nothing\n# still nothing").should == false
  end

To


			
  it "does not return a hash on empty strings" do
    YAML.load("").should_not be_kind_of(Hash)
    YAML.load("# nothing\n# still nothing").should_not be_kind_of(Hash)
  end