Sha256: 99c38e95d1807e632ac740bc44efc72e423668a77ff51a7e7d714d19b44ce1d1

Contents?: true

Size: 439 Bytes

Versions: 4

Compression:

Stored size: 439 Bytes

Contents

require File.dirname(__FILE__) + '/test_helper'

class CheckerTest < Test::Unit::TestCase
  def test_truth
    assert(true)
  end

  def test_space_stripper_removes_space
    str = <<EOS
The line below has just one space

The line above has just one space
EOS
    correct_str = <<EOS
The line below has just one space

The line above has just one space
EOS
    TwitterSms::space_stripper!(str)
    assert_equal(str,correct_str)
  end

end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
neufelry-twitter-sms-0.4.4 test/test_checker.rb
neufelry-twitter-sms-0.4.5 test/test_checker.rb
neufelry-twitter-sms-0.4.6 test/test_checker.rb
neufelry-twitter-sms-0.4.7 test/test_checker.rb