Sha256: a62b7f63564aa6b61ccc9231dadab17552f2268e2e9755388c0c996a8f80f751

Contents?: true

Size: 582 Bytes

Versions: 14

Compression:

Stored size: 582 Bytes

Contents

# frozen_string_literal: true

require 'rails_helper'

RSpec.describe 'solidus:migrations:migrate_shipping_rate_taxes' do
  describe 'up' do
    include_context(
      'rake',
      task_path: Spree::Core::Engine.root.join('lib/tasks/migrations/migrate_shipping_rate_taxes.rake'),
      task_name: 'solidus:migrations:migrate_shipping_rate_taxes:up',
    )

    it 'runs' do
      Spree::Deprecation.silence do
        expect { task.invoke }.to output(
          "Adding persisted tax notes to historic shipping rates ... Success.\n"
        ).to_stdout
      end
    end
  end
end

Version data entries

14 entries across 14 versions & 1 rubygems

Version Path
solidus_core-2.10.5 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.10.3 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.10.2 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.6 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.10.1 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.5 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.10.0 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.4 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.3 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.2 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.10.0.beta1 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.1 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.0 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb
solidus_core-2.9.0.rc.1 spec/lib/tasks/migrations/migrate_shipping_rate_taxes_spec.rb