summaryrefslogtreecommitdiff
path: root/spec/rubyspec/library/prime/next_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/rubyspec/library/prime/next_spec.rb')
-rw-r--r--spec/rubyspec/library/prime/next_spec.rb7
1 files changed, 7 insertions, 0 deletions
diff --git a/spec/rubyspec/library/prime/next_spec.rb b/spec/rubyspec/library/prime/next_spec.rb
new file mode 100644
index 0000000000..afff353d6e
--- /dev/null
+++ b/spec/rubyspec/library/prime/next_spec.rb
@@ -0,0 +1,7 @@
+require File.expand_path('../../../spec_helper', __FILE__)
+require File.expand_path('../shared/next', __FILE__)
+require 'prime'
+
+describe "Prime#next" do
+ it_behaves_like :prime_next, :next
+end