diff options
Diffstat (limited to 'spec/ruby/core/symbol/next_spec.rb')
| -rw-r--r-- | spec/ruby/core/symbol/next_spec.rb | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/ruby/core/symbol/next_spec.rb b/spec/ruby/core/symbol/next_spec.rb new file mode 100644 index 0000000000..e80bbaa508 --- /dev/null +++ b/spec/ruby/core/symbol/next_spec.rb @@ -0,0 +1,7 @@ +require_relative '../../spec_helper' + +describe "Symbol#next" do + it "is an alias of Symbol#succ" do + Symbol.instance_method(:next).should == Symbol.instance_method(:succ) + end +end |
