Class: TestStr

Inherits:
MiniTest::Test
  • Object
show all
Defined in:
/Users/martyn/cw/cw_clone/test/test_params.rb

Constant Summary

ROOT =
File.expand_path File.dirname(__FILE__) + '/../'

Instance Method Summary (collapse)

Instance Method Details

- (Object) setup



14
15
16
# File '/Users/martyn/cw/cw_clone/test/test_params.rb', line 14

def setup
  @str = CWG::Str.new
end

- (Object) test_stringify



18
19
20
# File '/Users/martyn/cw/cw_clone/test/test_params.rb', line 18

def test_stringify
  assert_equal('a, b', @str.stringify(['a','b']))
end