Sha256: ff4fb336aff84caff72168e2053e251a440dff6e17614d084016993eb46704f5

Contents?: true

Size: 563 Bytes

Versions: 14

Compression:

Stored size: 563 Bytes

Contents

module MiniTestSpecRails
  module Init
    module ActionViewBehavior

      extend ActiveSupport::Concern

      included do
        class_attribute :_helper_class
        register_spec_type(/(Helper|View)( ?Test)?\z/, self)
        register_spec_type(self) { |desc| Class === desc && desc < self }
        extend Descriptions
      end

      module Descriptions

        def described_class
          determine_default_helper_class(name)
        end

      end

    end
  end
end

ActionView::TestCase.send :include, MiniTestSpecRails::Init::ActionViewBehavior

Version data entries

14 entries across 14 versions & 2 rubygems

Version Path
minitest-spec-rails-5.4.0 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.3.0 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.2.2 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.2.0 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.1.1 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.1.0 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-orangejulius-5.0.5.pre.orangejulius lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-orangejulius-5.0.4.pre.orangejulius lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.0.4 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-orangejulius-5.0.3.pre.orangejulius lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.0.3 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.0.2 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.0.1 lib/minitest-spec-rails/init/action_view.rb
minitest-spec-rails-5.0.0 lib/minitest-spec-rails/init/action_view.rb