Hi, I getting the expand path problem when trying to run some rspec examples. Ben Hall mentioned it before. http://www.ruby-forum.com/topic/167568#new
I have a spec: ----------------------------------------------------------------------------- require File.dirname(__FILE__) + '/Domain.dll' require 'rubygems' require 'spec' module ProductSpecHelper def valid_attributes { :Name => 'Test' } end end describe Domain::Product, "When saving" do include ProductSpecHelper before(:each) do @product = Domain::Product.new end it "should have a name" do @product.attributes = @valid_attributes @product.name.should_not be_nil end it "should have product lines" end and run: ----------------------------------------------------------------------------- D:\IronRuby\RSpec>ir product_spec.rb c:\ironruby\Merlin\Main\Languages\Ruby\Libraries.LCA_RESTRICTED\Builtins\FileOps .cs:522:in `ExpandPath': Invalid argument - product_spec.rb:0 (Errno::EINVAL) from :0:in `expand_path' from example_group_methods.rb:108:in `set_description' from example_group_methods.rb:171:in `subclass' from example_group_methods.rb:48:in `describe' from example_group_factory.rb:25:in `create_example_group' from main.rb:22:in `describe' from product_spec.rb:0 Is there a work around people are using at the moment? Cheers. -- Posted via http://www.ruby-forum.com/. _______________________________________________ Ironruby-core mailing list Ironruby-core@rubyforge.org http://rubyforge.org/mailman/listinfo/ironruby-core