You have me curious about the FactoryGirl Q; I don't know how factory girl 
works under the covers, but it should be a simple extension if it doesn't work 
out of the box.

Sent from my iPhone

Begin forwarded message:

> From: Jesse Zamora <[email protected]>
> Date: April 30, 2011 11:45:52 AM PDT
> To: [email protected]
> Subject: Riak, RSpec, and Ripple
> 

> Hey,
> 
> I've been working on figuring out how to create tests for my Riak database 
> using RSpec and Ripple. Unfortunately, I haven't been able to find 
> documentation or even a tiny tutorial on it. Does anyone have any tips on how 
> to create RSpec tests that use Ripple? I want to use Factory Girl too, but as 
> they say, one step at a time.
> 
> So anyway, say I have a class User like so:
> 
> class User
>    include Ripple::Document
> 
>    property :name, String, :presence => true
>    property :email, String, :presence => true
>    # and more fields here, whatever is needed
> end
> 
> How would I create a RSpec test for this that can employ a Riak database???
> 
> Thanks,
> Jesse L. Zamora
> _______________________________________________
> riak-users mailing list
> [email protected]
> http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com
_______________________________________________
riak-users mailing list
[email protected]
http://lists.basho.com/mailman/listinfo/riak-users_lists.basho.com

Reply via email to