2024-10-06 12:30:41 +00:00
|
|
|
require "../spec_helper"
|
|
|
|
require "../../src/commands/mapping_create"
|
|
|
|
|
|
|
|
describe GX::Commands::MappingCreate do
|
|
|
|
context "Initialization" do
|
2024-10-27 21:09:47 +00:00
|
|
|
it "initializes with a mock FileSystemManager and RootConfig" do
|
|
|
|
config = GX::Config.new
|
|
|
|
root_config = GX::Models::RootConfig.new
|
|
|
|
command = GX::Commands::MappingCreate.new(config)
|
|
|
|
command.should be_a(GX::Commands::MappingCreate)
|
|
|
|
end
|
2024-10-06 12:30:41 +00:00
|
|
|
end
|
|
|
|
end
|