summaryrefslogtreecommitdiff
path: root/spec/ruby/core/symbol/next_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/symbol/next_spec.rb')
-rw-r--r--spec/ruby/core/symbol/next_spec.rb5
1 files changed, 3 insertions, 2 deletions
diff --git a/spec/ruby/core/symbol/next_spec.rb b/spec/ruby/core/symbol/next_spec.rb
index 97fe913739..e80bbaa508 100644
--- a/spec/ruby/core/symbol/next_spec.rb
+++ b/spec/ruby/core/symbol/next_spec.rb
@@ -1,6 +1,7 @@
require_relative '../../spec_helper'
-require_relative 'shared/succ'
describe "Symbol#next" do
- it_behaves_like :symbol_succ, :next
+ it "is an alias of Symbol#succ" do
+ Symbol.instance_method(:next).should == Symbol.instance_method(:succ)
+ end
end