"./script/generate plugin" should use rspec
Reported by Nathan B | August 7th, 2010 @ 02:27 AM
"$ ./script/generate plugin" gives the following test files:
create vendor/plugins/merge_contacts/test/merge_contacts_test.rb
create vendor/plugins/merge_contacts/test/test_helper.rb
It would be much better if the plugin generator would generate rspec tests instead of test::unit.
Comments and changes to this ticket
-
Mike Dvorkin August 7th, 2010 @ 11:17 AM
- State changed from new to invalid
This is generator that comes with Rails. By default Rails uses Test::Unit that comes with Ruby.
-
Nathan B August 10th, 2010 @ 01:59 AM
sorry for the dumb question, but I did manage to find a good answer:
$ ./script/plugin install git://github.com/crossroads/rspec-plugin-generator.git $ ./script/generate rspec_plugin [plugin_name]
Please Sign in or create a free account to add a new ticket.
With your very own profile, you can contribute to projects, track your activity, watch tickets, receive and update tickets through your email and much more.
Create your profile
Help contribute to this project by taking a few moments to create your personal profile. Create your profile ยป
Ruby on Rails CRM platform for Web 2.0 and beyond