Skip to content


Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Commits on Jan 20, 2015
  1. Richard Manyanza
Commits on Dec 4, 2014
  1. Remove migration check

    This check is no longer needed in Rails 4.1+.
    Closes #158
Commits on Jul 29, 2014
  1. Isaac Sloan

    Fixed scaffold generator so that it will pass on unchanged scaffolding.

    isaacsloan authored
    added tests to prove that it wasn't calling none existent instance variables
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 Apr 11, 2014
  1. Fix check for inherited methods [fixes #140]

    So, uh, yeah. The original code never worked. But this does.
    Added a couple of tests to make sure that namespaced generators work.
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 Nov 14, 2013
  1. Nate Priego

    Add namespace support for models generator

    nspriego authored
    Namespace was previously added for controllers but not models.
    Closes #88.
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 Jun 24, 2013
  1. Add AR argument to install generator

    Allow users to opt out of configuring the test helper to use ActiveRecord.
    To opt out, run the generator as:
        rails g mini_test:install --skip-active-record
  2. Add migration check to test helper

    This check only needs to be applied when creating a Rails 4.0 app.
Commits on Mar 19, 2013
  1. ! Use newly added MiniTest::Spec::DSL

    New direction for minitest-rails.
    Instead of managing the ancestry to AS::TC, extend it with MT::S::DSL instead.
    Allows for most of the complexity of minitest-rails to go away,
    and we can focus on more on smoothing edges than maintaining hacks.
    Thanks @zenspider!
Commits on Mar 8, 2013
  1. Rename test helper

    Switch back to the default test helper name, for easier integration in Rails 4.
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 15, 2013
  1. Add route test generator

    Give some guidance on testing routes.
Commits on Jan 11, 2013
  1. Refactor generator tests

    Remove some test duplication. Remove some warnings for unused variables.
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. Mario Uher

    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.
Something went wrong with that request. Please try again.