Skip to content

Commit

Permalink
Add spec to verify that toRDF returns an RDF::Enumerable.
Browse files Browse the repository at this point in the history
  • Loading branch information
gkellogg committed Oct 9, 2013
1 parent ffbde8b commit 9225ee8
Showing 1 changed file with 5 additions and 1 deletion.
6 changes: 5 additions & 1 deletion spec/to_rdf_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -3,9 +3,13 @@
require 'spec_helper'

describe JSON::LD::API do
before(:each) { @debug = []}
before(:each) {@debug = []}

context ".toRDF" do
it "should implement RDF::Enumerable" do
expect(JSON::LD::API.toRDF({})).to be_a(RDF::Enumerable)
end

context "unnamed nodes" do
{
"no @id" => [
Expand Down

0 comments on commit 9225ee8

Please sign in to comment.