spec/redlander/node_spec.rb in redlander-0.2.1 vs spec/redlander/node_spec.rb in redlander-0.2.2

- old
+ new

@@ -72,10 +72,10 @@ node.value.xmlschema.should eql(t.xmlschema) end it "should have a blank identifier for a blank node" do node = Node.new - node.value.should match(/^\(\w+\)$/) + node.value.should match(/^_:\w+$/) end it "should have an instance of URI for a resource node" do resource_uri = URI.parse('http://example.com/nodes#node_1') Node.new(resource_uri).value.should be_an_instance_of(URI::HTTP)