summaryrefslogtreecommitdiff
path: root/spec/rubyspec/core/string/shared/each_line_without_block.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/core/string/shared/each_line_without_block.rb')
-rw-r--r--spec/rubyspec/core/string/shared/each_line_without_block.rb17
1 files changed, 0 insertions, 17 deletions
diff --git a/spec/rubyspec/core/string/shared/each_line_without_block.rb b/spec/rubyspec/core/string/shared/each_line_without_block.rb
deleted file mode 100644
index 8e08b0390c..0000000000
--- a/spec/rubyspec/core/string/shared/each_line_without_block.rb
+++ /dev/null
@@ -1,17 +0,0 @@
-describe :string_each_line_without_block, shared: true do
- describe "when no block is given" do
- it "returns an enumerator" do
- enum = "hello world".send(@method, ' ')
- enum.should be_an_instance_of(Enumerator)
- enum.to_a.should == ["hello ", "world"]
- end
-
- describe "returned Enumerator" do
- describe "size" do
- it "should return nil" do
- "hello world".send(@method, ' ').size.should == nil
- end
- end
- end
- end
-end