Sha256: c10e26ddfdc814a1f09c0a4d666a32f76b03b60ddec67bb3219efddc107d0625

Contents?: true

Size: 134 Bytes

Versions: 25

Compression:

Stored size: 134 Bytes

Contents

describe "String#to_str" do
  it "returns self when self.class == String" do
    a = "a string"
    a.should equal(a.to_str)
  end
end

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
opal-0.4.4 spec/rubyspec/core/string/to_str_spec.rb
opal-0.4.3 spec/rubyspec/core/string/to_str_spec.rb
opal-0.4.2 spec/rubyspec/core/string/to_str_spec.rb
opal-0.4.1 spec/rubyspec/core/string/to_str_spec.rb
opal-0.4.0 spec/rubyspec/core/string/to_str_spec.rb
opal-0.3.44 spec/rubyspec/core/string/to_str_spec.rb
opal-0.3.43 spec/rubyspec/core/string/to_str_spec.rb
opal-0.3.42 spec/core/string/to_str_spec.rb
opal-0.3.41 spec/core/string/to_str_spec.rb
opal-0.3.40 spec/core/string/to_str_spec.rb
opal-0.3.39 spec/core/string/to_str_spec.rb
opal-0.3.38 spec/core/string/to_str_spec.rb
opal-0.3.37 spec/core/string/to_str_spec.rb
opal-0.3.36 spec/core/string/to_str_spec.rb
opal-0.3.35 spec/core/string/to_str_spec.rb
opal-0.3.34 spec/core/string/to_str_spec.rb
opal-0.3.33 spec/core/string/to_str_spec.rb
opal-0.3.32 spec/core/string/to_str_spec.rb
opal-0.3.31 spec/core/string/to_str_spec.rb
opal-0.3.30 spec/core/string/to_str_spec.rb