class FriendlyId::Test::ActiveRecord2::StatusTest

Public Instance Methods

instance() click to toggle source
# File test/active_record2/slugged_status_test.rb, line 17
def instance
  @instance ||= klass.create! :name => "hello world"
end
klass() click to toggle source
# File test/active_record2/slugged_status_test.rb, line 13
def klass
  Post
end