summaryrefslogtreecommitdiff
path: root/spec/ruby/core/float
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/float')
-rw-r--r--spec/ruby/core/float/abs_spec.rb2
-rw-r--r--spec/ruby/core/float/magnitude_spec.rb2
-rw-r--r--spec/ruby/core/float/modulo_spec.rb4
-rw-r--r--spec/ruby/core/float/to_i_spec.rb2
-rw-r--r--spec/ruby/core/float/to_int_spec.rb2
-rw-r--r--spec/ruby/core/float/truncate_spec.rb2
6 files changed, 7 insertions, 7 deletions
diff --git a/spec/ruby/core/float/abs_spec.rb b/spec/ruby/core/float/abs_spec.rb
index 3ff2e4369b..58e87c7602 100644
--- a/spec/ruby/core/float/abs_spec.rb
+++ b/spec/ruby/core/float/abs_spec.rb
@@ -1,5 +1,5 @@
require File.expand_path('../shared/abs', __FILE__)
describe "Float#abs" do
- it_behaves_like(:float_abs, :abs)
+ it_behaves_like :float_abs, :abs
end
diff --git a/spec/ruby/core/float/magnitude_spec.rb b/spec/ruby/core/float/magnitude_spec.rb
index 042356f4c4..95b4efc158 100644
--- a/spec/ruby/core/float/magnitude_spec.rb
+++ b/spec/ruby/core/float/magnitude_spec.rb
@@ -1,5 +1,5 @@
require File.expand_path('../shared/abs', __FILE__)
describe "Float#magnitude" do
- it_behaves_like(:float_abs, :magnitude)
+ it_behaves_like :float_abs, :magnitude
end
diff --git a/spec/ruby/core/float/modulo_spec.rb b/spec/ruby/core/float/modulo_spec.rb
index f29e3870da..fffa6cab67 100644
--- a/spec/ruby/core/float/modulo_spec.rb
+++ b/spec/ruby/core/float/modulo_spec.rb
@@ -2,9 +2,9 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/modulo', __FILE__)
describe "Float#%" do
- it_behaves_like(:float_modulo, :%)
+ it_behaves_like :float_modulo, :%
end
describe "Float#modulo" do
- it_behaves_like(:float_modulo, :modulo)
+ it_behaves_like :float_modulo, :modulo
end
diff --git a/spec/ruby/core/float/to_i_spec.rb b/spec/ruby/core/float/to_i_spec.rb
index 5bf5a1b42a..899e179678 100644
--- a/spec/ruby/core/float/to_i_spec.rb
+++ b/spec/ruby/core/float/to_i_spec.rb
@@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/to_i', __FILE__)
describe "Float#to_i" do
- it_behaves_like(:float_to_i, :to_i)
+ it_behaves_like :float_to_i, :to_i
end
diff --git a/spec/ruby/core/float/to_int_spec.rb b/spec/ruby/core/float/to_int_spec.rb
index ba31ebc168..c37ccdaa91 100644
--- a/spec/ruby/core/float/to_int_spec.rb
+++ b/spec/ruby/core/float/to_int_spec.rb
@@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/to_i', __FILE__)
describe "Float#to_int" do
- it_behaves_like(:float_to_i, :to_int)
+ it_behaves_like :float_to_i, :to_int
end
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