Class: VladTestCase
- Inherits:
-
MiniTest::Unit::TestCase
- Object
- MiniTest::Unit::TestCase
- VladTestCase
- Defined in:
- lib/vlad_test_case.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
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_hosts ⇒ Object
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 |