regressor
regressor copied to clipboard
Generate specs for your rails application the easy way. Regressor generates model and controller specs based on validations, associations, enums, database, routes, callbacks. Use regressor to capture...
Because of the last Rails update to version 7, the Fake gem needed to be updated to the latest version.
% bundle exec rails generate regressor:model 1 ↵ ✹ ✭ /Users/plagi/.rvm/gems/ruby-2.1.2@leadhacker/gems/regressor-0.4.0/lib/generators/regressor/model_generator.rb:8:in `create_regression_files': undefined method`eager_load!' for nil:NilClass (NoMethodError) from /Users/plagi/.rvm/gems/ruby-2.1.2@leadhacker/gems/thor-0.19.1/lib/thor/command.rb:27:in `run' from /Users/plagi/.rvm/gems/ruby-2.1.2@leadhacker/gems/thor-0.19.1/lib/thor/invocation.rb:126:in`invoke_command' from /Users/plagi/.rvm/gems/ruby-2.1.2@leadhacker/gems/thor-0.19.1/lib/thor/invocation.rb:133:in `block in invoke_all' from /Users/plagi/.rvm/gems/ruby-2.1.2@leadhacker/gems/thor-0.19.1/lib/thor/invocation.rb:133:in`each' from...
Would be nice to support this as well: https://github.com/beatrichartz/shoulda-callback-matchers
Hey, I have encountered a problem using your gem. Controller specs generator created this kind of spec for me: ``` it { should use_before_filter(:_callback_before_45(self)) } ``` It raises an error...
Can we release a new version (0.6.3) with Faker changes? @ndea
Add has_and_belongs_to_many_relations