diff options
Diffstat (limited to 'spec/ruby/core/numeric/conj_spec.rb')
| -rw-r--r-- | spec/ruby/core/numeric/conj_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/ruby/core/numeric/conj_spec.rb b/spec/ruby/core/numeric/conj_spec.rb index 8fa0fd9457..f376a0d4b1 100644 --- a/spec/ruby/core/numeric/conj_spec.rb +++ b/spec/ruby/core/numeric/conj_spec.rb @@ -1,6 +1,7 @@ -require File.expand_path('../../../spec_helper', __FILE__) -require File.expand_path('../../../shared/complex/numeric/conj', __FILE__) +require_relative '../../spec_helper' describe "Numeric#conj" do - it_behaves_like(:numeric_conj, :conj) + it "is an alias of Numeric#conjugate" do + Numeric.instance_method(:conj).should == Numeric.instance_method(:conjugate) + end end |
