summaryrefslogtreecommitdiff
path: root/spec/ruby/core/numeric/imaginary_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/numeric/imaginary_spec.rb')
-rw-r--r--spec/ruby/core/numeric/imaginary_spec.rb6
1 files changed, 6 insertions, 0 deletions
diff --git a/spec/ruby/core/numeric/imaginary_spec.rb b/spec/ruby/core/numeric/imaginary_spec.rb
new file mode 100644
index 0000000000..ec708cb505
--- /dev/null
+++ b/spec/ruby/core/numeric/imaginary_spec.rb
@@ -0,0 +1,6 @@
+require_relative '../../spec_helper'
+require_relative 'shared/imag'
+
+describe "Numeric#imaginary" do
+ it_behaves_like :numeric_imag, :imaginary
+end