Sha256: b4f3e95b39d66d32589a2ef68ceb65f28c2348d5f7eac7269c4bc549228ea7db

Contents?: true

Size: 477 Bytes

Versions: 4

Compression:

Stored size: 477 Bytes

Contents

require 'spec_helper'
require 'rubygems'
require 'fileutils'

describe "Taza project generator script" do

  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

4 entries across 4 versions & 1 rubygems

Version Path
taza-0.9.2.0 spec/generators/taza_bin_spec.rb
taza-0.9.1.2 spec/taza_bin_spec.rb
taza-0.9.1.1 spec/taza_bin_spec.rb
taza-0.9.1 spec/taza_bin_spec.rb