canvas-lms/lib/cdc_migration_testing/fixtures
Tucker McKnight 53dc70e404 spec: Set empty settings hash when creating a PluginSetting
Plugin.enabled? will return false if the PluginSetting has an
empty settings hash, even if PluginSetting.disabled is false.

A conference-type plugin needs to be enabled before a WebConference
can be created. And a WebConference needs to be created to test
the web_conferences table in the CDC build.

test plan:
- RAILS_ENV=test bundle exec rake db:test:fill_tables does not error

refs PLAT-5394

Change-Id: Ia4d1b762a3f1427e3c2378cadd4d4d1a9d0899cd
Reviewed-on: https://gerrit.instructure.com/c/canvas-lms/+/229736
Tested-by: Service Cloud Jenkins <svc.cloudjenkins@instructure.com>
Reviewed-by: Evan Battaglia <ebattaglia@instructure.com>
Reviewed-by: Tucker Mcknight <tmcknight@instructure.com>
QA-Review: Tucker Mcknight <tmcknight@instructure.com>
Product-Review: Tucker Mcknight <tmcknight@instructure.com>
2020-04-21 21:02:44 +00:00
..
assignment_override.rb Add a rake task that inserts rows into all db tables 2020-03-10 22:54:50 +00:00
enrollment.rb Add a rake task that inserts rows into all db tables 2020-03-10 22:54:50 +00:00
profile.rb Add a rake task that inserts rows into all db tables 2020-03-10 22:54:50 +00:00
web_conference.rb spec: Set empty settings hash when creating a PluginSetting 2020-04-21 21:02:44 +00:00
wiki_page.rb Add a rake task that inserts rows into all db tables 2020-03-10 22:54:50 +00:00