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

#instanceObject

Raises:

  • (NotImplementedError)


316
317
318
# File 'lib/friendly_id/test.rb', line 316

def instance
  raise NotImplementedError
end

#klassObject

Raises:

  • (NotImplementedError)


312
313
314
# File 'lib/friendly_id/test.rb', line 312

def klass
  raise NotImplementedError
end

#statusObject



308
309
310
# File 'lib/friendly_id/test.rb', line 308

def status
  @status ||= instance.friendly_id_status
end