Skip to content

Instantly share code, notes, and snippets.

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.'
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.'
@tosch
tosch / t.rb
Created August 17, 2010 06:53 — forked from anonymous/t.rb
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)