module FriendlyId::Test::SluggedStatus

Tests for FriendlyId::Status for a model that uses slugs.

Public Instance Methods

instance() click to toggle source
# File lib/friendly_id/test.rb, line 217
def instance
  raise NotImplementedError
end
klass() click to toggle source
# File lib/friendly_id/test.rb, line 213
def klass
  raise NotImplementedError
end
status() click to toggle source
# File lib/friendly_id/test.rb, line 209
def status
  @status ||= instance.friendly_id_status
end