Skip to content

Commit

Permalink
For testing, a call to generate i18n locale files
Browse files Browse the repository at this point in the history
  • Loading branch information
JasonYCHuang committed Feb 28, 2017
1 parent 94e176e commit 110c11b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions lib/react_on_rails/test_helper/ensure_assets_compiled.rb
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,8 @@ def call
# Be sure we don't do this again.
self.class.has_been_run = true

ReactOnRails::LocalesToJs.new if ReactOnRails.configuration.i18n_dir.present?

stale_gen_files = webpack_assets_status_checker.stale_generated_webpack_files

# All done if no stale files!
Expand Down

0 comments on commit 110c11b

Please sign in to comment.