Class: Rake::TestCase
- Inherits:
-
MiniTest::Unit::TestCase
- Object
- MiniTest::Unit::TestCase
- Rake::TestCase
- Defined in:
- lib/test_case.rb
Instance Method Summary collapse
Instance Method Details
#setup ⇒ Object
61 62 63 64 65 66 67 |
# File 'lib/test_case.rb', line 61 def setup @rake = Rake::RemoteTask @rake.reset Rake.application.clear @task_count = Rake.application.tasks.size @rake.set :domain, "example.com" end |
#util_set_hosts ⇒ Object
69 70 71 72 |
# File 'lib/test_case.rb', line 69 def util_set_hosts @rake.host "app.example.com", :app @rake.host "db.example.com", :db end |