diff options
Diffstat (limited to 'spec/rubyspec/core/string/next_spec.rb')
-rw-r--r-- | spec/rubyspec/core/string/next_spec.rb | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/spec/rubyspec/core/string/next_spec.rb b/spec/rubyspec/core/string/next_spec.rb new file mode 100644 index 0000000000..6b4a98d993 --- /dev/null +++ b/spec/rubyspec/core/string/next_spec.rb @@ -0,0 +1,11 @@ +require File.expand_path('../../../spec_helper', __FILE__) +require File.expand_path('../fixtures/classes.rb', __FILE__) +require File.expand_path('../shared/succ.rb', __FILE__) + +describe "String#next" do + it_behaves_like(:string_succ, :next) +end + +describe "String#next!" do + it_behaves_like(:string_succ_bang, :"next!") +end |