Sha256: 2e22c92aae4495b1f053a67b6c4acb7d6bb3a90972995935e7e0005c1e8b7034
Contents?: true
Size: 793 Bytes
Versions: 14
Compression:
Stored size: 793 Bytes
Contents
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require 'chatterbot/skeleton' describe "Chatterbot::Skeleton" do before(:each) do @bot = Chatterbot::Bot.new @bot.config = { :consumer_key => "consumer_key", :consumer_secret => "consumer_secret", :secret => "secret", :token => "token" } allow(@bot).to receive(:botname).and_return("Skelley_The_Skeleton") @output = Chatterbot::Skeleton.generate(@bot) end it "should have name" do expect(@output).to include("Skelley_The_Skeleton") end it "should have auth info" do expect(@output).to include("'consumer_key'") expect(@output).to include("'consumer_secret'") expect(@output).to include("'secret'") expect(@output).to include("'token'") end end
Version data entries
14 entries across 14 versions & 1 rubygems