diff options
Diffstat (limited to 'spec/ruby/core/integer/ceil_spec.rb')
-rw-r--r-- | spec/ruby/core/integer/ceil_spec.rb | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/spec/ruby/core/integer/ceil_spec.rb b/spec/ruby/core/integer/ceil_spec.rb index 31c56f378d..8a0754475f 100644 --- a/spec/ruby/core/integer/ceil_spec.rb +++ b/spec/ruby/core/integer/ceil_spec.rb @@ -3,8 +3,8 @@ require File.expand_path('../shared/to_i', __FILE__) require File.expand_path('../shared/integer_rounding', __FILE__) describe "Integer#ceil" do - it_behaves_like(:integer_to_i, :ceil) - it_behaves_like(:integer_rounding_positive_precision, :ceil) + it_behaves_like :integer_to_i, :ceil + it_behaves_like :integer_rounding_positive_precision, :ceil ruby_version_is "2.4" do context "precision argument specified as part of the ceil method is negative" do |