This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ree-1.8.7-2010.02@ruote-kit tsc@raisa:~/git/ruote-kit$ spec spec/resources/errors_spec.rb | |
FF........ | |
1) | |
NoMethodError in 'without any running processes GET /_ruote/errors should give no processes back (HTML)' | |
undefined method `collect' for nil:NilClass | |
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/bundler/gems/ruote-328ff7d4702b753a6aac9fdd65ec2408c8be5455-ruote2.1/lib/ruote/engine.rb:292:in `errors' | |
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `call' | |
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:863:in `route' | |
/home/tsc/.rvm/gems/ree-1.8.7-2010.02@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
en: | |
errors: | |
messages: | |
not_found: "nicht gefunden" | |
already_confirmed: "schon bestätigt" | |
not_locked: "nicht gesperrt" | |
devise: | |
failure: | |
unauthenticated: 'Sie müssen sich anmelden oder registrieren, um fortzufahren.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
de: | |
errors: | |
messages: | |
not_found: "nicht gefunden" | |
already_confirmed: "wurde bereits bestätigt" | |
not_locked: "ist nicht gesperrt" | |
devise: | |
failure: | |
unauthenticated: 'Sie müssen sich anmelden oder registrieren, bevor Sie fortfahren können.' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# make changes when needed | |
# | |
# you may use another persistent storage for example or include a worker so that | |
# you don't have to run it in a separate instance | |
require 'ruote/storage/fs_storage' | |
RUOTE_STORAGE = { | |
:klass => Ruote::FsStorage, | |
:args => ["ruote_work_#{Rails.env}"] |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
participant = ImageParticipant.new(opts) | |
# with error when reply_to_engine is not called | |
participant.should_receive(:reply_to_engine) | |
# if you know how the workitems instance should look like when passed to reply_to_engine: | |
participant.should_receive(:reply_to_engine).with(expected_workitem) | |
# if you don't care if reply_to_engine is actually called | |
participant.stub(:reply_to_engine) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require File.dirname(__FILE__) + '/../spec_helper' | |
describe "GET /_ruote/participants" do | |
after :each do | |
unless RuoteKit.engine.nil? | |
RuoteKit.engine.storage.purge! unless RuoteKit.engine.storage.nil? | |
RuoteKit.shutdown_engine( true ) | |
end | |
end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
ruby-1.9.1-p378@ruote-kit tsc@raisa:~/git/ruote-kit$ rake spec | |
(in /home/tsc/git/ruote-kit) | |
....FF..FF....FF..........FF..............FF........FF................................................... | |
1) | |
NoMethodError in 'GET /_ruote/expressions/wfid without running processes should 404 correctly (HTML)' | |
undefined method `[]' for nil:NilClass | |
/home/tsc/.rvm/gems/ruby-1.9.1-p378@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:865:in `call' | |
/home/tsc/.rvm/gems/ruby-1.9.1-p378@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:865:in `block in route' | |
/home/tsc/.rvm/gems/ruby-1.9.1-p378@ruote-kit/gems/sinatra-1.0/lib/sinatra/base.rb:521:in `instance_eval' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
........../home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/error_handler.rb:48:in `msg_handle': undefined method `[]' for nil:NilClass (NoMethodError) | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:232:in `process' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:155:in `step' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:70:in `run' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:81:in `run_in_thread' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:81:in `initialize' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:81:in `new' | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ruote-kit/gems/ruote-2.1.10/lib/ruote/worker.rb:81:in `run_in_thread' | |
from ./spec/views/../spec_helper.rb:59 | |
from /home/tsc/.rvm/gems/ree-1.8.7-2010.01@ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
source :gemcutter | |
gem 'ruote-kit' |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Exception in thread "Thread-1" java.lang.NullPointerException | |
at org.jruby.RubyFile.flock(RubyFile.java:297) | |
at org.jruby.RubyFile$i_method_1_0$RUBYINVOKER$flock.call(org/jruby/RubyFile$i_method_1_0$RUBYINVOKER$flock.gen) | |
at org.jruby.runtime.callsite.CachingCallSite.call(CachingCallSite.java:147) | |
at org.jruby.ast.CallOneArgNode.interpret(CallOneArgNode.java:57) | |
at org.jruby.ast.IfNode.interpret(IfNode.java:119) | |
at org.jruby.ast.NewlineNode.interpret(NewlineNode.java:104) | |
at org.jruby.ast.RescueNode.executeBody(RescueNode.java:225) | |
at org.jruby.ast.RescueNode.interpretWithJavaExceptions(RescueNode.java:147) | |
at org.jruby.ast.RescueNode.interpret(RescueNode.java:110) |