spec/bobot/bobot_spec.rb in bobot-2.6.2 vs spec/bobot/bobot_spec.rb in bobot-3.0.1

- old
+ new

@@ -5,23 +5,23 @@ it 'sets correct configuration' do Bobot.configure do |config| config.app_id = 'app_id' config.app_secret = 'app_secret' config.verify_token = 'verify_token' - config.debug_log = true + config.domains = " test.ltd, domain.ltd " config.async = true - config.pages << Bobot::Configuration::Page.new( + config.pages << Bobot::Page.new( slug: 'slug', language: 'language', page_access_token: 'page_access_token', page_id: 'page_id', get_started_payload: 'get_started_payload', ) end expect(Bobot.config.app_id).to eql('app_id') expect(Bobot.config.app_secret).to eql('app_secret') expect(Bobot.config.verify_token).to eql('verify_token') - expect(Bobot.config.debug_log).to eql(true) + expect(Bobot.config.domains).to eql(["test.ltd", "domain.ltd"]) expect(Bobot.config.async).to eql(true) expect(Bobot.config.pages[0].slug).to eql('slug') expect(Bobot.config.pages[0].language).to eql('language') expect(Bobot.config.pages[0].page_access_token).to eql('page_access_token') expect(Bobot.config.pages[0].page_id).to eql('page_id')