Sha256: 995715b414cd707a367f012ea41dd4fdeb8b5f86a2ae1f10faa05c6bfa90e5d5
Contents?: true
Size: 772 Bytes
Versions: 1
Compression:
Stored size: 772 Bytes
Contents
require 'spec_helper' describe Bundlegem do before :each do clear_templates end it 'has a version number' do expect(Bundlegem::VERSION).not_to be nil end it 'does something useful' do require 'bundlegem/cli' end it 'creates a config file if needed and lists properly' do create_user_defined_template list_output = Bundlegem.list expect(list_output).to eq " PREDEFINED:\n newgem\n service\n\n MISC:\n empty_template\n\n" expect(File.exists?("#{ENV['HOME']}/.bundlegem")).to be true end it "lists with good categories" do category = "ARDUINO" create_user_defined_template(category) list_output = Bundlegem.list expect(list_output.include?(category)).to be true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
bundlegem-0.0.4 | spec/bundlegem_spec.rb |