Got the first problem solved by editing the configuration file. Now, 
facing problem loading the Interop.SHDocVw assembly. Here is the 
complete code:



require 'rubygems'
require 'spec'

require File.dirname(__FILE__) + '/bin/Debug/BusinessObjects.dll'
require File.dirname(__FILE__) + '/bin/Debug/WatiN.Core.dll'
require File.dirname(__FILE__) + '/bin/Debug/Microsoft.mshtml.dll'
require File.dirname(__FILE__) + '/bin/Debug/Interop.SHDocVw.dll'

include BusinessObjects
include WatiN

describe Account, "when something happens" do

before do

IE = WatiN::Core::IE
@ie = IE.new

end

it "should do something" do



end

end


And here is the error:


C:\Projects\IronRubyDemo\IronRubyDemoSolution\BusinessObjects>ir -S spec 
testacc
ountbalanceUI.rb
F

1)
Errno::ENOENT in 'BusinessObjects::Account when something happens should 
do some
thing'
Could not load file or assembly 'Interop.SHDocVw, Version=1.1.0.0, 
Culture=neutr
al, PublicKeyToken=db7cfd3acb5ad44e' or one of its dependencies. The 
system cann
ot find the file specified.
./testaccountbalanceUI.rb:18:

Finished in 0.148009 seconds

1 example, 1 failure

-- 
Posted via http://www.ruby-forum.com/.
_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to