Sha256: 0ea77fafc790163e0b2785198d0d2ba6e332a20d66120962e1d9ef6ce0ff335a

Contents?: true

Size: 328 Bytes

Versions: 2

Compression:

Stored size: 328 Bytes

Contents

require 'spec/helper'

describe 'String#/' do

  # check if this is ok in win32
  it 'should join two strings' do
    ('a' / 'b').should == 'a/b'
  end

  it 'should join a string and a symbol' do
    ('a' / :b).should == 'a/b'
  end

  it 'should be usable in concatenation' do
    ('a' / :b / :c).should == 'a/b/c'
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
ramaze-0.1.4 spec/snippets/string/DIVIDE.rb
ramaze-0.2.0 spec/snippets/string/DIVIDE.rb