summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float/truncate_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float/truncate_spec.rb')
-rw-r--r--spec/ruby/core/float/truncate_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/ruby/core/float/truncate_spec.rb b/spec/ruby/core/float/truncate_spec.rb
index 7feeb81735..097aa751a4 100644
--- a/spec/ruby/core/float/truncate_spec.rb
+++ b/spec/ruby/core/float/truncate_spec.rb
@@ -2,7 +2,7 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/to_i', __FILE__)
describe "Float#truncate" do
- it_behaves_like(:float_to_i, :truncate)
+ it_behaves_like :float_to_i, :truncate
ruby_version_is "2.4" do
it "returns self truncated to an optionally given precision" do