mirror of
https://github.com/discourse/discourse.git
synced 2025-05-28 23:49:34 +08:00
DEV: Add initial structure for migrations-tooling
This commit is contained in:

committed by
Gerhard Schlager

parent
29beaff25b
commit
e16537fa9f
11
migrations/spec/import_spec.rb
Normal file
11
migrations/spec/import_spec.rb
Normal file
@ -0,0 +1,11 @@
|
||||
# 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
|
Reference in New Issue
Block a user