class Quails::Command::SecretsCommandTest

Public Instance Methods

setup() click to toggle source
# File railties/test/commands/secrets_test.rb, line 10
def setup
  build_app
end
teardown() click to toggle source
# File railties/test/commands/secrets_test.rb, line 14
def teardown
  teardown_app
end

Private Instance Methods

run_edit_command(editor: "cat") click to toggle source
# File railties/test/commands/secrets_test.rb, line 38
def run_edit_command(editor: "cat")
  Dir.chdir(app_path) { `EDITOR="#{editor}" bin/quails secrets:edit` }
end
run_setup_command() click to toggle source
# File railties/test/commands/secrets_test.rb, line 46
def run_setup_command
  Dir.chdir(app_path) { `bin/quails secrets:setup` }
end
run_show_command() click to toggle source
# File railties/test/commands/secrets_test.rb, line 42
def run_show_command
  Dir.chdir(app_path) { `bin/quails secrets:show` }
end