discourse/migrations/spec/import_spec.rb

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

12 lines
298 B
Ruby
Raw Normal View History

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