Created
September 14, 2010 04:25
-
-
Save jsmestad/578543 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Fabricator(:database) do | |
name 'testdb' | |
username 'testdbuser' | |
password 'testdb' | |
instance! | |
end | |
subject { Fabricate(:database) } | |
p subject.inspect | |
"#<Database id: nil, instance_id: 141, username: \"testdbuser\", password: \"testdb\", name: \"testdb\", created_at: nil, updated_at: nil, deleted_at: nil>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment