spec/happymapper_item_spec.rb in happymapper-0.2.0 vs spec/happymapper_item_spec.rb in happymapper-0.2.1
- old
+ new
@@ -42,10 +42,10 @@
item.xpath.should == './/foobar'
end
it "should prepend namespace if namespace exists" do
item = HappyMapper::Item.new(:foo, String, :tag => 'foobar')
- item.namespace = 'v2:'
+ item.namespace = 'v2'
item.xpath.should == 'v2:foobar'
end
end
describe "typecasting" do
\ No newline at end of file