Sha256: e9f1472bebdedd2e171af2a8c9014025fa431f816a6ed9a860e645cf95114629

Contents?: true

Size: 431 Bytes

Versions: 14

Compression:

Stored size: 431 Bytes

Contents

require File.expand_path("../ar_test_helper", __FILE__)


module FriendlyId
  module Test
    module ActiveRecordAdapter

      class StatusTest < ::Test::Unit::TestCase

        include FriendlyId::Test::Status
        include FriendlyId::Test::SluggedStatus

        def klass
          Post
        end

        def instance
          @instance ||= klass.create! :name => "hello world"
        end

      end
    end
  end
end

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
friendly_id-3.1.6 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.5 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.4 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.3 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.2 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.1.1 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.0 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.1.0.pre test/active_record_adapter/slugged_status_test.rb
cmassimo-friendly_id-3.0.4.2 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.0.6 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.0.5 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.0.4 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.0.3 test/active_record_adapter/slugged_status_test.rb
friendly_id-3.0.2 test/active_record_adapter/slugged_status_test.rb