Skip to content


Subversion checkout URL

You can clone with
Download ZIP
Commits on Apr 27, 2015
  1. Switch to value monad for expectations

    Minitest 5.6 introduced the _/value/expect monad for all expectations.
Commits on Jan 20, 2015
  1. @liseki
Commits on Jul 8, 2014
  1. Update spec_type registration

    Before Minitest 5.4 there was no addl argument sent to the blocks.
    In 5.4 the splatted additional_desc values are sent.
    Upgrade our spec_type blocks to accept the splatted addl desc values.
    And fix the tests by removing the array on them. I dunno what I was thinking...
Commits on Apr 15, 2014
  1. Add generator templates and tests

    Generators are supported by Rails 4.1 so we can safely support them here.
Commits on Apr 14, 2014
Commits on Dec 20, 2013
  1. Fix build on 1.8.7

    Hash rockets are so three years ago...
Commits on Dec 19, 2013
  1. Call bundle before bundle exec

    /me shakes fist at Bundler.
Commits on Oct 29, 2013
  1. Add generators test configuration

    Closes #108 from @mariochavez.
  2. Support Minitest 5's API

    Add minitest-test as a dependency, which allows Minitest::Test.
    This will help folks who are confused by the Minitest's API change.
Commits on Jul 8, 2013
  1. Add must/wont_change tests

Commits on Jun 25, 2013
  1. Add AS::TC assertions and expectations

    Document the assertions available in ActiveSupport::TestCase.
    Create and document expectations for AS::TC assertions.
Commits on Jan 24, 2013
  1. Add tests for view spec_type [fixes #86]

    Just make sure we don't match any test that ends in 'view'.
Commits on Jan 10, 2013
  1. Add test helper

    Since the changes for Rails 4 the TestCase duck-punches aren't as isolated.
    Add this helper file so that everything gets loaded once.
    No more calling 'load' instead of 'require'.
    Uncomment the mailer tests. It was a mistake to comment them out.
Commits on Jan 9, 2013
  1. Override ActiveSupport::TestCase by default

    This is a big change that simplifies the approach to how minitest is integrated.
    Use ActiveSupport::TestCase instead of MiniTest::Rails::ActiveSupport::TestCase.
    Instead of maintaining separate TestCase objects, overwrite the standard objects.
    Focus only on on what is needed to enable minitest and the spec DSL.
    Remove the MiniTest::Rails:: prefix from the generated tests.
Commits on Nov 16, 2012
  1. @haihappen

    Allow "Widget\s?Acceptance" and "Widget\?Integration" too.

    haihappen authored
    Call register_spec_type only once.
    Merged the two regexps.
Commits on Sep 23, 2012
  1. Fix tests running under Rails 3.1 and 3.2

    AM::TestCase and AV::TestCase have different semantics in 3.2, so add checks.
Commits on Sep 22, 2012
  1. Rename ActionDispatch test

    For consistency!
  2. Add helper lookup similar to controller and mailer lookup

    Allow helper spec tests to be nested just like controller spec tests.
    Add test coverage for helper spec tests and helper_class lookup.
  3. Add mailer lookup similar to controller lookup

    Allow mailer spec tests to be nested just like controller spec tests.
    Add test coverage for nested spec tests.
  4. Rename ActiveSupport test

  5. Extract constant lookup into a module

    ActionMailer needs this functionality as well.
    In preparation for submitting this to either Rails 4 or Minitest.
Commits on Sep 19, 2012
  1. @agirorn

    Fix bug with registering AS:TestCase [closes #73]

    agirorn authored committed
    Let description Strings match MiniTest::Spec even if ActiveRecord::Base is defined.
    Add conditional to the register_spec_type check, like the other checks.
    Added tests.
    Thanks to @agirorn for the submission!
Commits on Sep 18, 2012
  1. Fix tests

    Ugh, I transposed expected and actual.
    /me hangs head in shame
    Add test helper methods to reduce horizontal scrolling.
  2. @sauy7

    Match View specs names [closes #70]

    sauy7 authored committed
Commits on Jul 28, 2012
  1. Add new controller lookup logic (closes #58)

    Add ControllerLookup to own the logic for resolving a controller from a test class name.
    This is needed because the MiniTest Spec DSL allows for lots of variety in the namespace.
    Requires overriding `ActionController::TestCase.determine_default_controller_class`.
Commits on Jul 25, 2012
  1. Update spec regex to be a bit stricter

    We don't want to match new lines in the spec string.
  2. Move test locations

Something went wrong with that request. Please try again.