Skip to content
Browse files

A little spec cleanup, comments, and TODO update.

  • Loading branch information...
1 parent f80feb0 commit e3dc0f7eed63e3d0defc095ed1445fb75687ca74 @sam sam committed Mar 22, 2008
Showing with 4 additions and 7 deletions.
  1. +1 −6 TODO
  2. +1 −1 spec/loaded_set_spec.rb
  3. +2 −0 spec/resource_spec.rb
View
7 TODO
@@ -1,6 +1 @@
-* Figure out what to do about Resource::context (scope for now :-p)
-* Add dirty-tracking to Resource
-* Get DataObjectAdapter working...
-* Spec out Events
-* Spec out Validations
-* Spec out Associations
+See: http://wiki.datamapper.org/doku.php?id=what_needs_to_be_done
View
2 spec/loaded_set_spec.rb
@@ -28,7 +28,7 @@
results.should have(2).entries
bob, nancy = results[0], results[1]
- p bob.instance_variables
+
bob.name.should eql('Bob')
bob.age.should eql(10)
View
2 spec/resource_spec.rb
@@ -26,6 +26,8 @@ class Planet
property :age, Fixnum
property :core, String, :private => true
+ # An example of how to scope a property to a specific repository.
+ # Un-specced currently.
# repository(:legacy) do
# property :name, String
# end

0 comments on commit e3dc0f7

Please sign in to comment.
Something went wrong with that request. Please try again.