Sha256: a4e98ed274041908517f0154edaf314e937dd560f7f6163d739a83e50fdd8458

Contents?: true

Size: 325 Bytes

Versions: 5

Compression:

Stored size: 325 Bytes

Contents

require_relative "test_helper"

class DeprecatedWarningArchivalTest < ActiveSupport::TestCase

  test "models with 'acts_as_archival' instead of 'archival_record' can still archive a record" do
    archival = DeprecatedWarningArchival.create!
    archival.archive!
    assert_equal true, archival.reload.archived?
  end

end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
archival_record-3.0.1 test/deprecated_warning_archival_test.rb
archival_record-3.0.0 test/deprecated_warning_archival_test.rb
archival_record-2.0.2 test/deprecated_warning_archival_test.rb
archival_record-2.0.1 test/deprecated_warning_archival_test.rb
archival_record-2.0.0 test/deprecated_warning_archival_test.rb