Registry / testing / shoulda-create

shoulda-create

JSON →
library0.0.9rbrubygemsunverified

Adds should_create and friends to assert database record creation and destruction in tests.

gem install shoulda_create
INSTALL
IMPORT
SIG · SHOULDA-CREATE
S
shoulda-create
testingrubyv0.0.9
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

ShouldaCreate
require 'shoulda_create'

Assert that a record is created in the database.

require 'shoulda_create' class MyTest < ActiveSupport::TestCase should_create 'User' do User.create! end end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.0.9latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
10 hits · last 30 days
node
10
Resources
shoulda-create — gem install shoulda-create · libregistry