Sha256: 6f49e745c38fc9b484f8d8af0aef6825cb44d917028c56da2cf8906b7dd480a2
Contents?: true
Size: 731 Bytes
Versions: 3
Compression:
Stored size: 731 Bytes
Contents
# frozen_string_literal: true # Mutually exclusive with the Keynote::TestCase defined in # keynote/testing/test_unit. This is kind of icky but consistent with how # MT::R itself replaces the Rails test case classes. require "keynote/testing/test_present_method" module Keynote class TestCase < ::ActionView::TestCase include TestPresentMethod # describe SomePresenter do register_spec_type(self) do |desc| desc < Keynote::Presenter if desc.is_a?(Class) end # describe "SomePresenter" do register_spec_type(/presenter( ?test)?\z/i, self) # Don't try to include any particular helper, since we're not testing one def self.include_helper_modules! include _helpers end end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
keynote-2.0.2 | lib/keynote/testing/minitest.rb |
keynote-2.0.1 | lib/keynote/testing/minitest.rb |
keynote-2.0.0 | lib/keynote/testing/minitest.rb |