aboutsummaryrefslogtreecommitdiffstats
path: root/spec/rubyspec/core/symbol/shared/id2name.rb
blob: 47f97bd3320f122d9b17c334f6e9ea30061f1a5b (plain)
1
2
3
4
5
6
7
8
9
describe :symbol_id2name, shared: true do
  it "returns the string corresponding to self" do
    :rubinius.send(@method).should == "rubinius"
    :squash.send(@method).should == "squash"
    :[].send(@method).should == "[]"
    :@ruby.send(@method).should == "@ruby"
    :@@ruby.send(@method).should == "@@ruby"
  end
end