lib/specinfra/backend/cmd.rb in specinfra-2.0.0.beta1 vs lib/specinfra/backend/cmd.rb in specinfra-2.0.0.beta2
- old
+ new
@@ -1,8 +1,8 @@
require 'open3'
-module SpecInfra
+module Specinfra
module Backend
class Cmd < Base
include PowerShell::ScriptHelper
def run_command(cmd, opts={})
@@ -36,10 +36,10 @@
end
private
def powershell
- architecture = @example.metadata[:architecture] || SpecInfra.configuration.architecture
+ architecture = @example.metadata[:architecture] || Specinfra.configuration.architecture
case architecture
when :i386 then x86_powershell
when :x86_64 then x64_powershell
else raise ArgumentError, "invalid architecture [#{architecture}]"