Skip to content

Commit

Permalink
Adding tryouts
Browse files Browse the repository at this point in the history
  • Loading branch information
delano committed Apr 4, 2010
1 parent b2eea5f commit f7ff692
Showing 1 changed file with 19 additions and 0 deletions.
19 changes: 19 additions & 0 deletions try/10_basic_usage_tryouts.rb
@@ -0,0 +1,19 @@
library :storable, 'lib'

tryouts "Basic Usage" do
setup do
class A < Storable
field :one => String
field :two => Integer
field :three => TrueClass
end
end

dream ["string", 1, true]
drill "Create an object" do
a = A.new( "string", 1, true)
[a.one, a.two, a.three]
end

end

0 comments on commit f7ff692

Please sign in to comment.