Skip to content

Commit

Permalink
Fix typo in Simple backend JSON test
Browse files Browse the repository at this point in the history
Originally added in ebcd95a
  • Loading branch information
codealchemy committed Jul 13, 2021
1 parent 95612de commit 9dbbcfc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/backend/simple_test.rb
Expand Up @@ -76,7 +76,7 @@ def setup
end

test "simple load_json: loads data from a JSON file" do
data = I18n.backend.send(:load_yml, "#{locales_dir}/en.json")
data = I18n.backend.send(:load_json, "#{locales_dir}/en.json")
assert_equal({ 'en' => { 'foo' => { 'bar' => 'baz' } } }, data)
end

Expand Down

0 comments on commit 9dbbcfc

Please sign in to comment.