diff options
Diffstat (limited to 'spec/ruby/core/complex/rect_spec.rb')
| -rw-r--r-- | spec/ruby/core/complex/rect_spec.rb | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/spec/ruby/core/complex/rect_spec.rb b/spec/ruby/core/complex/rect_spec.rb index cf2ff9e83b..9e95f3efc2 100644 --- a/spec/ruby/core/complex/rect_spec.rb +++ b/spec/ruby/core/complex/rect_spec.rb @@ -1,9 +1,10 @@ -require File.expand_path('../../../shared/complex/rect', __FILE__) +require_relative '../../spec_helper' +require_relative 'shared/rect' describe "Complex#rect" do - it_behaves_like(:complex_rect, :rect) + it_behaves_like :complex_rect, :rect end describe "Complex.rect" do - it_behaves_like(:complex_rect_class, :rect) + it_behaves_like :complex_rect_class, :rect end |
