Move tests into directory

This commit is contained in:
David Heinemeier Hansson
2023-01-17 12:18:32 +01:00
parent cb26fb9dca
commit 668b4060cb
2 changed files with 2 additions and 2 deletions

View File

@@ -5,7 +5,7 @@ require "mrsk/commands/app"
ENV["VERSION"] = "123" ENV["VERSION"] = "123"
ENV["RAILS_MASTER_KEY"] = "456" ENV["RAILS_MASTER_KEY"] = "456"
class AppCommandTest < ActiveSupport::TestCase class CommandsAppTest < ActiveSupport::TestCase
setup do setup do
@config = { service: "app", image: "dhh/app", registry: { "username" => "dhh", "password" => "secret" }, servers: [ "1.1.1.1" ] } @config = { service: "app", image: "dhh/app", registry: { "username" => "dhh", "password" => "secret" }, servers: [ "1.1.1.1" ] }
@app = Mrsk::Commands::App.new Mrsk::Configuration.new(@config) @app = Mrsk::Commands::App.new Mrsk::Configuration.new(@config)

View File

@@ -2,7 +2,7 @@ require "test_helper"
require "mrsk/configuration" require "mrsk/configuration"
require "mrsk/commands/builder" require "mrsk/commands/builder"
class BuilderCommandTest < ActiveSupport::TestCase class CommandsBuilderTest < ActiveSupport::TestCase
setup do setup do
@config = { service: "app", image: "dhh/app", registry: { "username" => "dhh", "password" => "secret" }, servers: [ "1.1.1.1" ] } @config = { service: "app", image: "dhh/app", registry: { "username" => "dhh", "password" => "secret" }, servers: [ "1.1.1.1" ] }
end end