Sha256: c70b1e7a6027553d8dd37b29137ee7fc8c9657ece2004b01a0182a10ef94a36c

Contents?: true

Size: 368 Bytes

Versions: 20

Compression:

Stored size: 368 Bytes

Contents

require 'test_helper'

class RollbackTest < ActiveSupport::TestCase
  setup do
    @rollback = Rollback.new
  end

  test "#rollback? returns true" do
    assert @rollback.rollback?
  end

  test "#rollbackable? returns false" do
    refute @rollback.rollbackable?
  end

  test "#supports_rollback? returns false" do
    refute @rollback.supports_rollback?
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
shipit-engine-0.5.2 test/models/rollbacks_test.rb
shipit-engine-0.5.1 test/models/rollbacks_test.rb
shipit-engine-0.5.0 test/models/rollbacks_test.rb
shipit-engine-0.4.10 test/models/rollbacks_test.rb
shipit-engine-0.4.9 test/models/rollbacks_test.rb
shipit-engine-0.4.8 test/models/rollbacks_test.rb
shipit-engine-0.4.7 test/models/rollbacks_test.rb
shipit-engine-0.4.6 test/models/rollbacks_test.rb
shipit-engine-0.4.5 test/models/rollbacks_test.rb
shipit-engine-0.4.4 test/models/rollbacks_test.rb
shipit-engine-0.4.3 test/models/rollbacks_test.rb
shipit-engine-0.4.2 test/models/rollbacks_test.rb
shipit-engine-0.4.1 test/models/rollbacks_test.rb
shipit-engine-0.4.0 test/models/rollbacks_test.rb
shipit-engine-0.3.1 test/models/rollbacks_test.rb
shipit-engine-0.3.0 test/models/rollbacks_test.rb
shipit-engine-0.2.3 test/models/rollbacks_test.rb
shipit-engine-0.2.2 test/models/rollbacks_test.rb
shipit-engine-0.2.1 test/models/rollbacks_test.rb
shipit-engine-0.2.0 test/models/rollbacks_test.rb