Registry / testing / shoulda-callback-matchers

shoulda-callback-matchers

JSON →
library1.1.4rbrubygemsunverified

Making callback tests easy on the fingers and eyes

gem install shoulda-callback-matchers
INSTALL
IMPORT
SIG · SHOULDA-CALLBACK-M
S
shoulda-callback-matchers
testingrubyv1.1.4
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.

Shoulda
require 'shoulda-callback-matchers'

Test that a model callback runs after save.

require 'shoulda-callback-matchers' RSpec.describe User, type: :model do it { should callback(:do_something).after(:save) } end
Debug
Known issues

No known issues recorded.

Upgrade
Version history
1.1.4latest on RubyGems
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
Resources
shoulda-callback-matchers — gem install shoulda-callback-matchers · libregistry