spec/triple_spec.rb in rdfa_parser-0.1.2 vs spec/triple_spec.rb in rdfa_parser-0.1.3

- old
+ new

@@ -112,28 +112,9 @@ typedref = Literal.build_from('foo') Triple.coerce_object(ref).should == ref end - it "should coerse a URIRef from a string" do - uri = URIRef.new("foo://bar") - Triple.coerce_object(uri.to_s).should == uri - end - - it "should coerse an untyped string" do - val = "foo" - Triple.coerce_object(val).should == val - end - - it "should coerse an integer" do - val = 1 - Triple.coerce_object(val).should == Literal.build_from(val) - end - - it "should coerse a float" do - val = 1.1 - Triple.coerce_object(val).should == Literal.build_from(val) - end end describe "equivalence" do before(:all) do @test_cases = [