Sha256: ba76c87ed9c29511d24e4793052084354df4b779346af828bf4891878270377b
Contents?: true
Size: 328 Bytes
Versions: 2
Compression:
Stored size: 328 Bytes
Contents
# -*- encoding: utf-8 -*- require 'spec_helper' describe TTY::System::Editor, '#command' do let(:editor) { 'vim' } subject { described_class } context 'when custom command' do it 'searches available commands' do subject.should_receive(:available).with(editor) subject.command(editor) end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tty-0.0.11 | spec/tty/system/editor/command_spec.rb |
tty-0.0.10 | spec/tty/system/editor/command_spec.rb |