spec/javascripts/support/jasmine_config.rb in settings_js-0.0.1 vs spec/javascripts/support/jasmine_config.rb in settings_js-0.1.0
- old
+ new
@@ -6,11 +6,11 @@
require 'sprockets'
module Jasmine
class DummySettings < Settingslogic
- source File.join(Spec_root, 'fixtures', 'settings_js', 'adapters', 'settings_logic.yml')
+ source File.join(Spec_root, 'fixtures', 'settings_js', 'backends', 'settings_logic.yml')
end
class Config
@@ -26,10 +26,10 @@
private
def gem_configuration
SettingsJs.configuration do |config|
- config.adapter = 'settings_logic'
+ config.backend = 'settings_logic'
config.keys = %w(key1 key2.sub_key2_2)
config.klass = DummySettings
end
end