Sha256: b03bf144460fe98ca9142947cb39207405a94580b63b89054ca719c0a126feab

Contents?: true

Size: 316 Bytes

Versions: 3

Compression:

Stored size: 316 Bytes

Contents

# frozen_string_literal: true

RSpec.configure do |config|
  config.when_first_matching_example_defined(solidus_admin: true) do
    config.before(:suite) do
      system('bin/rails solidus_admin:tailwindcss:build') or abort 'Failed to build Tailwind CSS'
      Rails.application.precompiled_assets
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
solidus_admin-0.3.2 lib/solidus_admin/testing_support/admin_assets.rb
solidus_admin-0.3.1 lib/solidus_admin/testing_support/admin_assets.rb
solidus_admin-0.3.0 lib/solidus_admin/testing_support/admin_assets.rb