Skip to content

Commit

Permalink
Documentation cleanup
Browse files Browse the repository at this point in the history
  • Loading branch information
farrel committed Mar 6, 2011
1 parent a4d18f4 commit ee5bb8e
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion README.rdoc
Expand Up @@ -144,7 +144,7 @@ JSON(JavaScript Object Notation) is a text serialization format that can be easi
alert.to_json

will produce the following JSON string

{"identifier":"0eb97e40-195b-437b-9a01-55fe89691def",
"sender":"cape_town_disaster_relief@capetown.municipal.za",
"sent":"2011-03-04T15:58:01+02:00",
Expand Down
10 changes: 5 additions & 5 deletions spec/resource_spec.rb
Expand Up @@ -6,11 +6,11 @@
@resource = RCAP::Resource.new
end

it( 'should have no mime_type' ){ @resource.mime_type.should( be_nil )}
it( 'should have no size' ){ @resource.size.should( be_nil )}
it( 'should have no uri' ){ @resource.uri.should( be_nil )}
it( 'should have no deref_uri' ){ @resource.deref_uri.should( be_nil )}
it( 'should have no digest' ){ @resource.digest.should( be_nil )}
it( 'should have no mime_type' ){ @resource.mime_type.should( be_nil )}
it( 'should have no size' ){ @resource.size.should( be_nil )}
it( 'should have no uri' ){ @resource.uri.should( be_nil )}
it( 'should have no deref_uri' ){ @resource.deref_uri.should( be_nil )}
it( 'should have no digest' ){ @resource.digest.should( be_nil )}
it( 'should have no resource_desc' ){ @resource.resource_desc.should( be_nil )}

context( 'from XML' ) do
Expand Down

0 comments on commit ee5bb8e

Please sign in to comment.