Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

After saving the ORM, the resource's ETag should be updated to match the newly set value #27

Open
jcoyne opened this issue Apr 18, 2014 · 0 comments

Comments

@jcoyne
Copy link
Member

jcoyne commented Apr 18, 2014

client = Ldp::Client.new(host)
graph = RDF::Graph.new 
graph.insert([RDF::URI.new, RDF::DC.title, "foo"])
res = Ldp::Resource::RdfSource.new(client, 'res1', graph)
orm = Ldp::Orm.new(res)
orm.save
orm.graph.dump(:ttl)
=> "\n<> <http://purl.org/dc/terms/title> \"foo\" .\n"

we'd expect the dumped graph to have a real subject URI

@jcoyne jcoyne changed the title After saving the ORM graph should be reloaded After saving the ORM, graph should be reloaded Apr 18, 2014
@cbeer cbeer changed the title After saving the ORM, graph should be reloaded After saving the ORM, the resource's ETag should be updated to match the newly set value Apr 18, 2014
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant