discourse/spec/tasks/assets_precompile_spec.rb
David Taylor 585ba17f56
DEV: Rename theme-transpiler to asset-processor (#35498)
This is already used for more than just themes, and we plan to extend
its usage even further
2025-10-20 14:16:46 +01:00

12 lines
357 B
Ruby
Vendored

# frozen_string_literal: true
RSpec.describe "assets:precompile" do
describe "assets:precompile:asset_processor" do
it "compiles the js processor" do
path = Rake::Task["assets:precompile:asset_processor"].actions.first.call
expect(path).to end_with("tmp/asset-processor.js")
expect(File.exist?(path)).to eq(true)
end
end
end