Sha256: 37c7f38b2888ec07c18c8c716a71c8525f8c0474a746cef174fe74a625d79f87
Contents?: true
Size: 467 Bytes
Versions: 13
Compression:
Stored size: 467 Bytes
Contents
require 'spec_helper' require 'tasks/projects/list_task' require 'fileutils' describe Projects::ListTask do let(:projects) { %w[a b c] } describe '#task', config: true do let(:base) { Anvil::Config.base_projects_path } before do projects.each { |p| FileUtils.mkdir_p(base + "/#{p}") } end it 'list the projects in the projects path' do expect(subject).to receive(:list_projects).with(projects) subject.task end end end
Version data entries
13 entries across 13 versions & 1 rubygems