Make translation failure error out, there are at least 1 uncovered translation failures (share with lightbox)
This commit is contained in:
parent
cc84e349de
commit
5823da8d25
1 changed files with 7 additions and 0 deletions
7
spec/support/i18n_raise_errors.rb
Normal file
7
spec/support/i18n_raise_errors.rb
Normal file
|
|
@ -0,0 +1,7 @@
|
||||||
|
module I18n
|
||||||
|
def self.just_raise_that_exception(*args)
|
||||||
|
raise args.first
|
||||||
|
end
|
||||||
|
end
|
||||||
|
|
||||||
|
I18n.exception_handler = :just_raise_that_exception
|
||||||
Loading…
Reference in a new issue