aboutsummaryrefslogtreecommitdiffstats
path: root/spec/ruby/library/readline/history/history_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/library/readline/history/history_spec.rb')
-rw-r--r--spec/ruby/library/readline/history/history_spec.rb9
1 files changed, 9 insertions, 0 deletions
diff --git a/spec/ruby/library/readline/history/history_spec.rb b/spec/ruby/library/readline/history/history_spec.rb
new file mode 100644
index 0000000000..dfa6544036
--- /dev/null
+++ b/spec/ruby/library/readline/history/history_spec.rb
@@ -0,0 +1,9 @@
+require File.expand_path('../../spec_helper', __FILE__)
+
+with_feature :readline do
+ describe "Readline::HISTORY" do
+ it "is extended with the Enumerable module" do
+ Readline::HISTORY.should be_kind_of(Enumerable)
+ end
+ end
+end