summaryrefslogtreecommitdiff
path: root/spec/ruby/core/encoding/shared/name.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/ruby/core/encoding/shared/name.rb')
-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 cd37ea06db..0000000000
--- a/spec/ruby/core/encoding/shared/name.rb
+++ /dev/null
@@ -1,15 +0,0 @@
-require_relative '../../../spec_helper'
-
-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