Remove logger helper from action environment class

This commit is contained in:
Mitchell Hashimoto 2010-09-20 09:44:51 -06:00
parent e0bf3f2dff
commit f37710a4bd
2 changed files with 0 additions and 9 deletions

View File

@ -29,11 +29,6 @@ module Vagrant
@interrupted = false @interrupted = false
end end
# Returns a logger associated with the environment.
def logger
env.logger
end
# Returns a UI object from the environment # Returns a UI object from the environment
def ui def ui
env.ui env.ui

View File

@ -15,10 +15,6 @@ class ActionEnvironmentTest < Test::Unit::TestCase
assert_equal "value", @instance["key"] assert_equal "value", @instance["key"]
end end
should "setup the logger" do
assert_equal @instance.env.logger, @instance.logger
end
should "setup the UI" do should "setup the UI" do
assert_equal @instance.env.ui, @instance.ui assert_equal @instance.env.ui, @instance.ui
end end