Sha256: dc097d0a3f0090a8079aa8d9c59cc12a8f306ba98964b42397f6197f6d305cb9

Contents?: true

Size: 573 Bytes

Versions: 3

Compression:

Stored size: 573 Bytes

Contents

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

class TextileToolbarTest < Test::Unit::TestCase
  include TextileToolbar
  include ActionView::Helpers::TagHelper
  include ActionView::Helpers::AssetTagHelper
  include ActionView::Helpers::JavaScriptHelper
  include ActionView::Helpers::UrlHelper
  include ActionView::Helpers::FormHelper
  
  context "textile_area" do
    should "render text area" do
      assert textile_area(:article, :body).include?("<textarea")
      assert textile_area(:article, :body).include?("</textarea>")
    end
  end
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
textile_toolbar-0.5.4 test/textile_toolbar_test.rb
textile_toolbar-0.5.1 test/textile_toolbar_test.rb
textile_toolbar-0.5 test/textile_toolbar_test.rb