Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/diaspora/diaspora.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'spec/support/i18n_raise_errors.rb')
-rw-r--r--spec/support/i18n_raise_errors.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/support/i18n_raise_errors.rb b/spec/support/i18n_raise_errors.rb
index 0564e2743..414867feb 100644
--- a/spec/support/i18n_raise_errors.rb
+++ b/spec/support/i18n_raise_errors.rb
@@ -1,6 +1,6 @@
module I18n
def self.just_raise_that_exception(*args)
- raise args.first
+ raise "Translation not found: #{args.first.key}"
end
end