Sha256: 43af46c0593823be7ff8bd20e91314ad5877654796c4b2f0a1c0d482d6585d4e
Contents?: true
Size: 555 Bytes
Versions: 1
Compression:
Stored size: 555 Bytes
Contents
require 'spec_helper' require 'rubygems' require 'fileutils' describe "Taza bin" do it 'runs from the terminal' do output = system("taza") expect(output).to be_true end it "should have an executable script" do pending "Not sure this is really necessary, as this is just testing if command line returns anything. It also breaks JRuby." path = 'spec/sandbox/generators' taza_bin = "#{File.expand_path(File.dirname(__FILE__)+'/../bin/taza')} #{path}" system("ruby -c #{taza_bin} > #{null_device}").should be_true end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
taza-0.9.2.1 | spec/generators/taza_bin_spec.rb |