Skip to content

Commit

Permalink
Merge pull request #572 from codealchemy/simple_backend/json-test-fix
Browse files Browse the repository at this point in the history
Fix typo in Simple backend JSON test
  • Loading branch information
radar authored Jul 14, 2021
2 parents 95612de + 9dbbcfc commit 3d0f144
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/backend/simple_test.rb
Original file line number Diff line number Diff line change
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 3d0f144

Please sign in to comment.