Sha256: 7358708590345a6d6ed52505b1005fb8f2331c3fba4155030b9200bdbbd5337d
Contents?: true
Size: 416 Bytes
Versions: 5
Compression:
Stored size: 416 Bytes
Contents
require 'orangutan' require 'ClassLibrary.dll' describe Orangutan::Chantek, 'creating clr stubs' do it 'should create stub implementations of a clr interface with a method' do o = Orangutan::Chantek.new s = o.stub :foo, :clr_interface => ClassLibrary::IHaveAMethod c = ClassLibrary::Consumer.new c.call_method(s) o.calls[0].should == Orangutan::Call.new(:foo, :my_method, ['thing']) end end
Version data entries
5 entries across 5 versions & 2 rubygems