Sha256: c678c2d76193fb1de076a05dc0fe0c238dbcb40e663407a5597e41137f001ac0

Contents?: true

Size: 648 Bytes

Versions: 3

Compression:

Stored size: 648 Bytes

Contents

require File.join(File.dirname(__FILE__), '../', 'support', 'spec_helper')
require 'lib/configured_as/mvc_deployment'
require 'lib/IIS/IIS'
require 'lib/IIS/IIS6'
require 'lib/IIS/IISVersion'

describe IIS do
  it "should executing IIS6 deployment if server is v6" do
    pending "This doesn't work as I expect. Something really simple I'm guessing but keeps failing to mock objects"
    mvc = MvcDeployment.new
    mvc.site_name = 'test'
    
    IISVersion.expects(:current_version).returns("6.0.0.0")
    IIS6.any_instance.expects(:deploy).with("", "", mvc).returns(false)
    iis = IIS.new
    iis.deploy("", "", mvc)
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
dolphindeploy-0.0.3-universal-dotnet spec/IIS/IIS_spec.rb
dolphindeploy-0.0.2-universal-dotnet spec/IIS/IIS_spec.rb
dolphindeploy-0.0.1 spec/IIS/IIS_spec.rb