blowmage/minitest-rails — Issue #22: Please bump dep. for rails 3.2.  Smoke test passes.
Author: zesty
Created: 2012-02-03 01:54:19+00:00
State: open

Attempting to use `rails new` with rails 3.2 and minitest-rails (via a template file) results in:

Bundler could not find compatible versions for gem "railties":
In Gemfile:
rails (= 3.2.1) ruby depends on
railties (= 3.2.1) ruby

jquery-rails (>= 0) ruby depends on
railties (3.2.0)

Despite the errors, it's only when I add minitest-rails to the mix that error occurs. Tried workaround with forcing rails 3.1 to no good effect; perhaps user error there. Anyway, I cloned the repository and bumped the rails dep to 3.2.0 in the Rakefile. `rake` testing passed. Installed the gem locally, and mini_test:install generator works without error.

template.rb test case follows below.
command for testing: rm -rf junk; rails new junk -m template.rb

gem 'haml-rails'

gem_group :development, :test do |g|
gem 'machinist'
gem 'minitest-rails'
end

generate 'machinist:install'
generate 'mini_test:install'

application do
'config.template_engine :haml'
'config.fixture_replacement :machinist'
'g.test_framework :mini_test, :spec => true, :fixture => true'
end