lib/dock_test/dsl.rb in dock_test-0.1.6 vs lib/dock_test/dsl.rb in dock_test-0.1.7
- old
+ new
@@ -38,15 +38,15 @@
def localhost?
@url && ['127.0.0.1', 'localhost'].include?(URI.parse(@url).host)
end
- def skippy=(envs)
- @skippy_envs = Array(envs).map(&:to_s)
+ def skippy=(skippy)
+ @skippy = skippy
end
- def skippy_envs
- @skippy_envs ||= ['production']
+ def skippy?
+ @skippy || false
end
def configure(&block)
block.call(DockTest)
end