Skip to content

Commit

Permalink
Fixed the test description for i18n-customize-full-message after rena…
Browse files Browse the repository at this point in the history
…me in #35789
  • Loading branch information
abhaynikam committed Mar 29, 2019
1 parent f1688bf commit 9841f68
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions activemodel/test/cases/railtie_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -32,20 +32,20 @@ def setup
assert_equal true, ActiveModel::SecurePassword.min_cost
end

test "i18n full message defaults to false" do
test "i18n customize full message defaults to false" do
@app.initialize!

assert_equal false, ActiveModel::Errors.i18n_customize_full_message
end

test "i18n full message can be disabled" do
test "i18n customize full message can be disabled" do
@app.config.active_model.i18n_customize_full_message = false
@app.initialize!

assert_equal false, ActiveModel::Errors.i18n_customize_full_message
end

test "i18n full message can be enabled" do
test "i18n customize full message can be enabled" do
@app.config.active_model.i18n_customize_full_message = true
@app.initialize!

Expand Down

0 comments on commit 9841f68

Please sign in to comment.