Sha256: 68e1559c29903b3d56990e4005ab7e5159bde289eb93370618b091d7958bac1c
Contents?: true
Size: 418 Bytes
Versions: 3
Compression:
Stored size: 418 Bytes
Contents
require "spec_helper" describe Lita::Handlers::Latex, lita_handler: true do it { routes_command('latex me \Sigma').to(:latex) } it { routes_command('latex \Sigma').to(:latex) } it { routes_command('tex \Sigma').to(:latex) } it 'returns a url for the render latex' do send_command 'latex me \Sigma' expect(replies.last).to eq('http://chart.apis.google.com/chart?cht=tx&chl=%5CSigma#.png') end end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
lita-latex-0.0.3 | spec/lita/handlers/latex_spec.rb |
lita-latex-0.0.2 | spec/lita/handlers/latex_spec.rb |
lita-latex-0.0.1 | spec/lita/handlers/latex_spec.rb |