discourse/migrations/spec/import_spec.rb
2023-10-13 16:03:55 +02:00

12 lines
280 B
Ruby

# frozen_string_literal: true
RSpec.describe "Migrations::Import" do
subject(:cli) { system "migrations/import" }
it "works" do
expect { cli }.to output(
include("Importing into Discourse #{Discourse::VERSION::STRING}"),
).to_stdout_from_any_process
end
end