spec/bobot/bobot_spec.rb in bobot-4.1.0 vs spec/bobot/bobot_spec.rb in bobot-4.2.0

- old
+ new

@@ -5,10 +5,11 @@ 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.skip_code = '' config.domains = " test.ltd, domain.ltd " config.async = true config.pages << Bobot::Page.new( slug: 'slug', language: 'language', @@ -18,9 +19,10 @@ ) 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.skip_code).to eq('') 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')