public Method

TestText__Format.test_extra_space

Tests both extra_space and extra_space=

Source Code

# File action_mailer/vendor/text-format-0.6.3/text/format.rb, line 1109
def test_extra_space
  assert_nothing_raised { @format_o = Text::Format.new }
  assert(!@format_o.extra_space)
  assert_nothing_raised { @format_o.extra_space = true }
  assert(@format_o.extra_space)
    # The behaviour of extra_space is tested in test_abbreviations. There
    # is no need to reproduce it here.
end
Comments

Have your say
Please use Textile formatting (click here for a cheat sheet). Use <code/> and <pre/> for code samples.
Click here to login with OpenID to to post comments.