canvas-lms/gems/twitter/spec
Ethan Vizitei b9fd1bce1c Fix twitter migration for settings
closes CNVS-21297

These settings are referenced everywhere else with "consumer"
prefixes rather than "client" prefixes, this fixes that typo.

Also makes the config hash with indifferent access,
wraps the configuration in a testable object, and
relaxes the twitter gems' requirement for a Proc,
letting it be satisfied with a callable object.

(also started unit tests on that object
since I was touching it anyway and it had none)

TEST PLAN:
 1) twitter as a registered service works

Change-Id: I9daf03547c3e60b99bdd6c24a4c632b0f8b6b091
Reviewed-on: https://gerrit.instructure.com/57074
Tested-by: Jenkins
Reviewed-by: Cody Cutrer <cody@instructure.com>
QA-Review: August Thornton <august@instructure.com>
Product-Review: Cody Cutrer <cody@instructure.com>
2015-06-24 20:22:11 +00:00
..
locales move twitter to gem 2014-05-05 20:08:27 +00:00
twitter Fix twitter migration for settings 2015-06-24 20:22:11 +00:00
spec_helper.rb move twitter to gem 2014-05-05 20:08:27 +00:00