summaryrefslogtreecommitdiff
path: root/spec/ruby/library/prime/shared/next.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/prime/shared/next.rb')
-rw-r--r--spec/ruby/library/prime/shared/next.rb8
1 files changed, 0 insertions, 8 deletions
diff --git a/spec/ruby/library/prime/shared/next.rb b/spec/ruby/library/prime/shared/next.rb
deleted file mode 100644
index f79b2c051e..0000000000
--- a/spec/ruby/library/prime/shared/next.rb
+++ /dev/null
@@ -1,8 +0,0 @@
-describe :prime_next, shared: true do
- it "returns the element at the current position and moves forward" do
- p = Prime.instance.each
- p.next.should == 2
- p.next.should == 3
- p.next.next.should == 6
- end
-end