Sha256: 8afeec1a35232e01e6f1969a3aeed30e8139550239fbf1aa3331f901495cc650
Contents?: true
Size: 374 Bytes
Versions: 11
Compression:
Stored size: 374 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 allow(subject).to receive(:available) subject.command(editor) expect(subject).to have_received(:available).with(editor) end end end
Version data entries
11 entries across 11 versions & 1 rubygems