Luiz Felipe G. Pereira
bb8871e3d1
Follow generator configuration to determine the resulting test file ( #4371 )
...
Verifying that `RSpec` is defined assumes that the library is loaded on
the same environment that the generator is running.
It is often common to not have the rspec gem required on development,
which is the default environment to run the generator from.
Following the configured generator removes the assumption and works as
expected without breaking expectations.
2019-11-11 10:37:39 -08:00
fatkodima
9aed617749
Respect rails' generators test_framework
option and gracefully handle extra worker
suffix on generator
2019-09-10 14:42:49 -07:00
Mike Perham
e552d4c383
Don't need to support ancient versions of Minitest anymore
2019-08-28 09:58:33 -07:00
Bryan FRIMIN
32c55e3165
Use standardrb for source styling ( #4114 )
2019-04-01 09:20:41 -07:00
Mauro Otonelli
c51cd8148f
Fix RSpec generated worker template indentation
2017-05-29 10:46:12 -07:00
Jose Galisteo
22a5286e88
Fix test generator ( #3309 )
2017-01-07 10:50:31 -08:00
Arthur Neves
5d90c3a5c9
Use minitest 5 parent class
...
On Minitest 5+ we should be extending Minitest::Test instead.
see 7b387128ef/lib/minitest/unit.rb (L26)
2015-12-02 08:06:17 -05:00
Anton Davydov
32cead82c0
Fix unnecessary tabulation for minitest template file [skip ci]
2015-12-01 17:13:59 +03:00
Richard Lee
16d7b8681c
Use new hash syntax for generated spec
2015-12-01 00:30:31 +08:00
Richard Lee
92406ab65a
Update generator generated test file naming
2014-10-21 17:07:43 +08:00
Mike Perham
5af7f3fa8d
verbage
2014-08-22 11:53:52 -07:00
Abdelkader Boudih
1e6aa900af
[Feature] Sidekiq worker generator
2014-08-22 18:38:41 +00:00