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