You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Would you be interested in shipping RSpec matchers with this gem?
I only have two in mind actually for now:
# unread_matchers.rbRSpec::Matchers.define:be_readabledo# check to see if the model has `acts_as_readable` declared on itmatch{ |actual| actual.is_a?(::Unread::Readable::InstanceMethods)}endRSpec::Matchers.define:be_a_readerdo# check to see if the model has `acts_as_reader` declared on itmatch{ |actual| actual.is_a?(::Unread::Reader::InstanceMethods)}end# message_spec.rbit{is_expected.tobe_readable}# user_spec.rbit{is_expected.tobe_a_reader}
The text was updated successfully, but these errors were encountered:
Would you be interested in shipping RSpec matchers with this gem?
I only have two in mind actually for now:
The text was updated successfully, but these errors were encountered: