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

- (Object) instance

Raises:

  • (NotImplementedError)


330
331
332
# File 'lib/friendly_id/test.rb', line 330

def instance
  raise NotImplementedError
end

- (Object) klass

Raises:

  • (NotImplementedError)


326
327
328
# File 'lib/friendly_id/test.rb', line 326

def klass
  raise NotImplementedError
end

- (Object) status



322
323
324
# File 'lib/friendly_id/test.rb', line 322

def status
  @status ||= instance.friendly_id_status
end