I am trying to use this sample rspec test.
before(:each) do
@storage = Ruote::FsStorage.new("/tmp/phynet-ruote/")
@worker = Ruote::Worker.new(@storage)
@engine = Ruote::Engine.new(@worker)
end
An I get the following error:
LoadError in 'Idp::InitializeDirectoryParticipant an attempt to spec
ruote process definitions should initialize a directory'
no such file to load -- ./log/test_logger
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:116:in `require'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:116:in `add_service'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:155:in `block in initialize_services'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:151:in `each'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:151:in `initialize_services'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
context.rb:53:in `initialize'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
worker.rb:56:in `new'
/Users/dhf/.rvm/gems/ruby-1.9.1-p378/gems/ruote-2.1.11/lib/ruote/
worker.rb:56:in `initialize'
/Users/dhf/physiciannet/idp/spec/engine_spec.rb:13:in `new'
/Users/dhf/physiciannet/idp/spec/engine_spec.rb:13:in `block (2
levels) in <top (required)>'
Line 13 is Worker.new
Not sure why I am getting that as I am not using anything like it.
Don French
--
you received this message because you are subscribed to the "ruote users" group.
to post : send email to [email protected]
to unsubscribe : send email to [email protected]
more options : http://groups.google.com/group/openwferu-users?hl=en