Move tests into directory
This commit is contained in:
@@ -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)
|
||||||
@@ -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
|
||||||
Reference in New Issue
Block a user