lib/minitest-spec-rails/init/mini_shoulda.rb



module MiniTestSpecRails
  module Init
    module MiniShouldaBehavior

      extend ActiveSupport::Concern

      included do
        class << self
          alias :context  :describe
          alias :should   :it
        end
        extend ClassMethods
      end

      module ClassMethods

        def should_eventually(desc)
          it("should eventually #{desc}") { skip("Should eventually #{desc}") }
        end

      end

    end
  end
end

ActiveSupport::TestCase.send :include, MiniTestSpecRails::Init::MiniShouldaBehavior