Class: VladTestCase

Inherits:
MiniTest::Unit::TestCase
  • Object
show all
Defined in:
lib/vlad_test_case.rb

Instance Method Summary collapse

Instance Method Details

#setupObject



61
62
63
64
65
66
67
# File 'lib/vlad_test_case.rb', line 61

def setup
  @vlad = Rake::RemoteTask
  @vlad.reset
  Rake.application.clear
  @task_count = Rake.application.tasks.size
  @vlad.set :domain, "example.com"
end

#util_set_hostsObject



69
70
71
72
# File 'lib/vlad_test_case.rb', line 69

def util_set_hosts
  @vlad.host "app.example.com", :app
  @vlad.host "db.example.com", :db
end