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