lib/berkshelf/test.rb in berkshelf-2.0.0.beta vs lib/berkshelf/test.rb in berkshelf-2.0.0
- old
+ new
@@ -1,12 +1,10 @@
module Berkshelf
# Because aruba runs in a sub-process, there's no easy way to share mocks and
# stubs across a run (See RiotGames/berkshelf#208). As a work-around, we pass
# "special" mocks and stubs into the TEST environment variable. This class
# parses and then requires the appropriate mocks during the run.
- #
- # @author Seth Vargo <sethvargo@gmail.com>
class Mocks
require 'rspec/mocks/standalone'
class << self
def env_keys
@@ -32,6 +30,6 @@
end
end
unless (keys = Berkshelf::Mocks.env_keys & ENV.keys).empty?
Berkshelf::Mocks.new(keys)
-end
\ No newline at end of file
+end