Remove logger helper from action environment class
This commit is contained in:
parent
e0bf3f2dff
commit
f37710a4bd
|
@ -29,11 +29,6 @@ module Vagrant
|
|||
@interrupted = false
|
||||
end
|
||||
|
||||
# Returns a logger associated with the environment.
|
||||
def logger
|
||||
env.logger
|
||||
end
|
||||
|
||||
# Returns a UI object from the environment
|
||||
def ui
|
||||
env.ui
|
||||
|
|
|
@ -15,10 +15,6 @@ class ActionEnvironmentTest < Test::Unit::TestCase
|
|||
assert_equal "value", @instance["key"]
|
||||
end
|
||||
|
||||
should "setup the logger" do
|
||||
assert_equal @instance.env.logger, @instance.logger
|
||||
end
|
||||
|
||||
should "setup the UI" do
|
||||
assert_equal @instance.env.ui, @instance.ui
|
||||
end
|
||||
|
|
Loading…
Reference in New Issue