aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--activejob/lib/active_job/serializers.rb2
-rw-r--r--activejob/test/cases/serializers_test.rb2
2 files changed, 2 insertions, 2 deletions
diff --git a/activejob/lib/active_job/serializers.rb b/activejob/lib/active_job/serializers.rb
index ec223440e3..df66e66659 100644
--- a/activejob/lib/active_job/serializers.rb
+++ b/activejob/lib/active_job/serializers.rb
@@ -38,7 +38,7 @@ module ActiveJob
raise ArgumentError, "Serializer name is not present in the argument: #{argument.inspect}" unless serializer_name
serializer = serializer_name.safe_constantize
- raise ArgumentError, "Serializer #{serializer_name} is not know" unless serializer
+ raise ArgumentError, "Serializer #{serializer_name} is not known" unless serializer
serializer.deserialize(argument)
end
diff --git a/activejob/test/cases/serializers_test.rb b/activejob/test/cases/serializers_test.rb
index a86f168d03..bee0c061bd 100644
--- a/activejob/test/cases/serializers_test.rb
+++ b/activejob/test/cases/serializers_test.rb
@@ -73,7 +73,7 @@ class SerializersTest < ActiveSupport::TestCase
ActiveJob::Serializers.deserialize(hash)
end
assert_equal(
- "Serializer DoNotExist is not know",
+ "Serializer DoNotExist is not known",
error.message
)
end