Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
Fabricator(:database) do
name 'testdb'
username 'testdbuser'
password 'testdb'
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