thoughtbot/factory_girl_rails — Issue #45: unit tests being generated even with config.test_framework false
Author: potiguar
Created: 2011-12-24 02:02:15+00:00
State: open

Steps to reproduce:

Rails 3.1.3 , Ruby 1.9.3-p0

```
rails new app
cd app
```

in Gemfile:

```
group :development, :test do
gem 'factory_girl_rails'
end
```

in development.rb:

```
config.generators do |c|
c.test_framework false
end
```

```
bundle
rails generate model foo bar:string
```

Unit tests are generated anyway.

Without the factory_girl_rails gem, the correct behaviour is observed (no tests generated).