aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/bigdecimal
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/bigdecimal')
-rw-r--r--spec/ruby/library/bigdecimal/case_compare_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/eql_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/equal_value_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/exponent_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/modulo_spec.rb8
-rw-r--r--spec/ruby/library/bigdecimal/power_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/to_i_spec.rb2
-rw-r--r--spec/ruby/library/bigdecimal/to_int_spec.rb2
8 files changed, 11 insertions, 11 deletions
diff --git a/spec/ruby/library/bigdecimal/case_compare_spec.rb b/spec/ruby/library/bigdecimal/case_compare_spec.rb
index dcbde80e85..2cb7345d5a 100644
--- a/spec/ruby/library/bigdecimal/case_compare_spec.rb
+++ b/spec/ruby/library/bigdecimal/case_compare_spec.rb
@@ -3,5 +3,5 @@ require File.expand_path('../shared/eql.rb', __FILE__)
describe "BigDecimal#===" do
- it_behaves_like(:bigdecimal_eql, :===)
+ it_behaves_like :bigdecimal_eql, :===
end
diff --git a/spec/ruby/library/bigdecimal/eql_spec.rb b/spec/ruby/library/bigdecimal/eql_spec.rb
index f3f525a7ba..5018b1d670 100644
--- a/spec/ruby/library/bigdecimal/eql_spec.rb
+++ b/spec/ruby/library/bigdecimal/eql_spec.rb
@@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/eql.rb', __FILE__)
describe "BigDecimal#eql?" do
- it_behaves_like(:bigdecimal_eql, :eql?)
+ it_behaves_like :bigdecimal_eql, :eql?
end
diff --git a/spec/ruby/library/bigdecimal/equal_value_spec.rb b/spec/ruby/library/bigdecimal/equal_value_spec.rb
index bd07217b98..bcffdfe58a 100644
--- a/spec/ruby/library/bigdecimal/equal_value_spec.rb
+++ b/spec/ruby/library/bigdecimal/equal_value_spec.rb
@@ -3,5 +3,5 @@ require File.expand_path('../shared/eql.rb', __FILE__)
describe "BigDecimal#==" do
- it_behaves_like(:bigdecimal_eql, :==)
+ it_behaves_like :bigdecimal_eql, :==
end
diff --git a/spec/ruby/library/bigdecimal/exponent_spec.rb b/spec/ruby/library/bigdecimal/exponent_spec.rb
index 6bb678d4ed..449c55d8fe 100644
--- a/spec/ruby/library/bigdecimal/exponent_spec.rb
+++ b/spec/ruby/library/bigdecimal/exponent_spec.rb
@@ -3,7 +3,7 @@ require File.expand_path('../shared/power', __FILE__)
require 'bigdecimal'
describe "BigDecimal#**" do
- it_behaves_like(:bigdecimal_power, :**)
+ it_behaves_like :bigdecimal_power, :**
end
describe "BigDecimal#exponent" do
diff --git a/spec/ruby/library/bigdecimal/modulo_spec.rb b/spec/ruby/library/bigdecimal/modulo_spec.rb
index 6feeb685eb..04919c4362 100644
--- a/spec/ruby/library/bigdecimal/modulo_spec.rb
+++ b/spec/ruby/library/bigdecimal/modulo_spec.rb
@@ -2,11 +2,11 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/modulo', __FILE__)
describe "BigDecimal#%" do
- it_behaves_like(:bigdecimal_modulo, :%)
- it_behaves_like(:bigdecimal_modulo_zerodivisionerror, :%)
+ it_behaves_like :bigdecimal_modulo, :%
+ it_behaves_like :bigdecimal_modulo_zerodivisionerror, :%
end
describe "BigDecimal#modulo" do
- it_behaves_like(:bigdecimal_modulo, :modulo)
- it_behaves_like(:bigdecimal_modulo_zerodivisionerror, :modulo)
+ it_behaves_like :bigdecimal_modulo, :modulo
+ it_behaves_like :bigdecimal_modulo_zerodivisionerror, :modulo
end
diff --git a/spec/ruby/library/bigdecimal/power_spec.rb b/spec/ruby/library/bigdecimal/power_spec.rb
index f2b1a9b5c8..c9aef58b12 100644
--- a/spec/ruby/library/bigdecimal/power_spec.rb
+++ b/spec/ruby/library/bigdecimal/power_spec.rb
@@ -2,5 +2,5 @@ require File.expand_path('../../../spec_helper', __FILE__)
require File.expand_path('../shared/power', __FILE__)
describe "BigDecimal#power" do
- it_behaves_like(:bigdecimal_power, :power)
+ it_behaves_like :bigdecimal_power, :power
end
diff --git a/spec/ruby/library/bigdecimal/to_i_spec.rb b/spec/ruby/library/bigdecimal/to_i_spec.rb
index 8db69003c5..4ec7b3ec7e 100644
--- a/spec/ruby/library/bigdecimal/to_i_spec.rb
+++ b/spec/ruby/library/bigdecimal/to_i_spec.rb
@@ -3,5 +3,5 @@ require File.expand_path('../shared/to_int', __FILE__)
require 'bigdecimal'
describe "BigDecimal#to_i" do
- it_behaves_like(:bigdecimal_to_int, :to_i)
+ it_behaves_like :bigdecimal_to_int, :to_i
end
diff --git a/spec/ruby/library/bigdecimal/to_int_spec.rb b/spec/ruby/library/bigdecimal/to_int_spec.rb
index 56a60d4a03..abe8663a60 100644
--- a/spec/ruby/library/bigdecimal/to_int_spec.rb
+++ b/spec/ruby/library/bigdecimal/to_int_spec.rb
@@ -4,5 +4,5 @@ require 'bigdecimal'
describe "BigDecimal#to_int" do
- it_behaves_like(:bigdecimal_to_int, :to_int)
+ it_behaves_like :bigdecimal_to_int, :to_int
end