Module: FriendlyId::Test::SluggedStatus
- Defined in:
- lib/friendly_id/test.rb
Overview
Tests for FriendlyId::Status for a model that uses slugs.
Instance Method Summary collapse
Instance Method Details
#instance ⇒ Object
316 317 318 |
# File 'lib/friendly_id/test.rb', line 316 def instance raise NotImplementedError end |
#klass ⇒ Object
312 313 314 |
# File 'lib/friendly_id/test.rb', line 312 def klass raise NotImplementedError end |
#status ⇒ Object
308 309 310 |
# File 'lib/friendly_id/test.rb', line 308 def status @status ||= instance.friendly_id_status end |