aboutsummaryrefslogtreecommitdiffstats
path: root/activemodel/test/cases/type/unsigned_integer_test.rb
diff options
context:
space:
mode:
Diffstat (limited to 'activemodel/test/cases/type/unsigned_integer_test.rb')
-rw-r--r--activemodel/test/cases/type/unsigned_integer_test.rb18
1 files changed, 0 insertions, 18 deletions
diff --git a/activemodel/test/cases/type/unsigned_integer_test.rb b/activemodel/test/cases/type/unsigned_integer_test.rb
deleted file mode 100644
index 026cb08a06..0000000000
--- a/activemodel/test/cases/type/unsigned_integer_test.rb
+++ /dev/null
@@ -1,18 +0,0 @@
-require "cases/helper"
-require "active_model/type"
-
-module ActiveModel
- module Type
- class UnsignedIntegerTest < ActiveModel::TestCase
- test "unsigned int max value is in range" do
- assert_equal(4294967295, UnsignedInteger.new.serialize(4294967295))
- end
-
- test "minus value is out of range" do
- assert_raises(ActiveModel::RangeError) do
- UnsignedInteger.new.serialize(-1)
- end
- end
- end
- end
-end