Sha256: 1fb9d71dbca1e17770a78e80ddd82243be33dd56b491fcf4e151c8ea643efca2

Contents?: true

Size: 824 Bytes

Versions: 4

Compression:

Stored size: 824 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 OrigamiTest < 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

4 entries across 4 versions & 1 rubygems

Version Path
endymion-origami-0.1.2 test/origami_test.rb
endymion-origami-0.1.3 test/origami_test.rb
endymion-origami-0.1.4 test/origami_test.rb
endymion-origami-0.1.5 test/origami_test.rb