summaryrefslogtreecommitdiff
path: root/spec/ruby/core/encoding/shared
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/encoding/shared')
-rw-r--r--spec/ruby/core/encoding/shared/name.rb15
1 files changed, 0 insertions, 15 deletions
diff --git a/spec/ruby/core/encoding/shared/name.rb b/spec/ruby/core/encoding/shared/name.rb
deleted file mode 100644
index 7f85c46764..0000000000
--- a/spec/ruby/core/encoding/shared/name.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require File.expand_path('../../../../spec_helper', __FILE__)
-
-describe :encoding_name, shared: true do
- it "returns a String" do
- Encoding.list.each do |e|
- e.send(@method).should be_an_instance_of(String)
- end
- end
-
- it "uniquely identifies an encoding" do
- Encoding.list.each do |e|
- e.should == Encoding.find(e.send(@method))
- end
- end
-end