Sha256: 20085fb6d7d89b27ea43afb5f4f3856526383c83f2be12233221cbf1fb1d3e8e

Contents?: true

Size: 539 Bytes

Versions: 1

Compression:

Stored size: 539 Bytes

Contents

require_relative '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

1 entries across 1 versions & 1 rubygems

Version Path
textile_toolbar-0.5.5 test/textile_toolbar_test.rb