summaryrefslogtreecommitdiff
path: root/spec/ruby/core/complex/conj_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/complex/conj_spec.rb')
-rw-r--r--spec/ruby/core/complex/conj_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/complex/conj_spec.rb b/spec/ruby/core/complex/conj_spec.rb
new file mode 100644
index 0000000000..063c85faec
--- /dev/null
+++ b/spec/ruby/core/complex/conj_spec.rb
@@ -0,0 +1,7 @@
+require_relative '../../spec_helper'
+
+describe "Complex#conj" do
+ it "is an alias of Complex#conjugate" do
+ Complex.instance_method(:conj).should == Complex.instance_method(:conjugate)
+ end
+end