Sha256: 15fcde125960c75eec2a9afd993e281abcb89713e2f2ad1cc094846cc465bc6e

Contents?: true

Size: 426 Bytes

Versions: 3

Compression:

Stored size: 426 Bytes

Contents

require File.join(File.dirname(__FILE__), 'support', 'spec_helper')

describe "Loading Dolphin Deploy" do
  it "should raise exception when RUBY_ENGINE is not IronRuby" do  
    Object.send(:remove_const, :RUBY_ENGINE)
    lambda {require 'dolphindeploy'}.should raise_exception
  end
  
  it "should load successfully when running as IronRuby" do
    RUBY_ENGINE = 'ironruby'
    require 'dolphindeploy'
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

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