Sha256: 9e96fee3afcb0ba33537c589ea6a594a97e7d0e29b674820ba9055b68f73b567

Contents?: true

Size: 182 Bytes

Versions: 2

Compression:

Stored size: 182 Bytes

Contents

require 'spec_helper'

describe Lita::Handlers::Eval, lita_handler: true do
  it 'evaluates the code' do
    send_command('eval 2 + 2')
    expect(replies.last).to eq('4')
  end
end

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
lita-eval-0.0.2 spec/lita/handlers/eval_spec.rb
lita-eval-0.0.1 spec/lita/handlers/eval_spec.rb