spec/features/metadata_spec.rb in togostanza-1.5.0 vs spec/features/metadata_spec.rb in togostanza-2.0.0
- old
+ new
@@ -24,8 +24,9 @@
it 'should return metadata as JSON' do
json = JSON.parse(page.body)
json.should include('stanza:label' => 'Foo Stanza')
+ json.should include('@id' => "http://www.example.com/foo")
end
end
end