spec/entity_spec.rb in taza-0.8.7 vs spec/entity_spec.rb in taza-0.9.0

- old
+ new

@@ -1,6 +1,6 @@ -require 'spec/spec_helper' +require 'spec_helper' require 'taza/entity' describe Taza::Entity do it "should add methods for hash string keys" do entity = Taza::Entity.new({'apple' => 'pie'},nil) @@ -19,10 +19,10 @@ it "should be able to return a hash object" do entity = Taza::Entity.new({:apple => 'pie' },nil) entity.to_hash[:apple].should eql('pie') end - + it "should be able to do string-to-symbol conversion for hash keys using to_hash" do entity = Taza::Entity.new({'apple' => 'pie' },nil) entity.to_hash[:apple].should eql('pie') end