mirror of
https://github.com/edcommonwealth/Dashboard.git
synced 2026-03-18 18:26:24 -07: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
6
spec/factories/dashboard/examples.rb
Normal file
6
spec/factories/dashboard/examples.rb
Normal file
|
|
@ -0,0 +1,6 @@
|
|||
FactoryBot.define do
|
||||
factory :example, class: "Dashboard::Example" do
|
||||
text { "MyString" }
|
||||
body { "MyText" }
|
||||
end
|
||||
end
|
||||
Loading…
Add table
Add a link
Reference in a new issue