mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-07 21:38:14 -08:00
set up example scaffold with rspec + factorybot tests
This commit is contained in:
parent
533c921a6d
commit
d1e6fb1e39
23 changed files with 512 additions and 6 deletions
|
|
@ -1,5 +1,11 @@
|
|||
module Dashboard
|
||||
class Engine < ::Rails::Engine
|
||||
isolate_namespace Dashboard
|
||||
|
||||
config.generators do |g|
|
||||
g.test_framework :rspec
|
||||
g.fixture_replacement :factory_bot
|
||||
g.factory_bot dir: "spec/factories"
|
||||
end
|
||||
end
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue