Sha256: 7c0f4535f456e2cf76faefd9e138d3891ca2df9fc26a5f3ead0c19110c059c3e

Contents?: true

Size: 823 Bytes

Versions: 2

Compression:

Stored size: 823 Bytes

Contents

# The following line should not be necessary, but it is because of a bug in 
# ActiveSupport: https://rails.lighthouseapp.com/projects/8994/tickets/2519-requiring-activesupporttestcase-in-a-vanilla-test-fails-to-run-the-test-case
require 'test/unit'

require 'test_helper'

require 'test/unit'
require 'rubygems'
require 'active_support'
require 'action_view'
require "#{File.dirname(__FILE__)}/../init"

require File.dirname(__FILE__) + '/../app/helpers/layout_helper'

class ChaiseTest < ActiveSupport::TestCase

  include ActionView::Helpers::TagHelper
  include ActionView::Helpers::CaptureHelper
  include LayoutHelper

  # I would love to be able to test this plugin but right now it's apparently not meant to be.
  test "block_to_partial helper" do
    assert block_to_partial('layouts/head', nil), !nil?
  end

end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
endymion-origami-0.1.0 test/chaise_test.rb
endymion-origami-0.1.1 test/chaise_test.rb