summaryrefslogtreecommitdiff
path: root/spec/ruby/library/pathname/divide_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/pathname/divide_spec.rb')
-rw-r--r--spec/ruby/library/pathname/divide_spec.rb6
1 files changed, 4 insertions, 2 deletions
diff --git a/spec/ruby/library/pathname/divide_spec.rb b/spec/ruby/library/pathname/divide_spec.rb
index 8af79d0c8f..e5afc9f864 100644
--- a/spec/ruby/library/pathname/divide_spec.rb
+++ b/spec/ruby/library/pathname/divide_spec.rb
@@ -1,6 +1,8 @@
require_relative '../../spec_helper'
-require_relative 'shared/plus'
+require 'pathname'
describe "Pathname#/" do
- it_behaves_like :pathname_plus, :/
+ it "is an alias of Pathname#+" do
+ Pathname.instance_method(:/).should == Pathname.instance_method(:+)
+ end
end