Sha256: c4978991982dab1c742c4ca2426d30b348eee7ad572283a5aa3b033b318cd296

Contents?: true

Size: 394 Bytes

Versions: 7

Compression:

Stored size: 394 Bytes

Contents

require 'spec/spec_helper'
require 'rubygems'
require 'fileutils'
require 'taza'

describe "WatirCraft project generator script" do

  it "should have an executable script" do
    path = 'spec/sandbox/generators'
    taza_bin = "#{File.expand_path(File.dirname(__FILE__)+'/../bin/watircraft')} #{path}"
    system("ruby -c #{taza_bin} > #{null_device}").should be_true
  end

end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
bret-watircraft-0.4.0 spec/watircraft_bin_spec.rb
bret-watircraft-0.4.1 spec/watircraft_bin_spec.rb
bret-watircraft-0.4.2 spec/watircraft_bin_spec.rb
bret-watircraft-0.4.3 spec/watircraft_bin_spec.rb
bret-watircraft-0.4.4 spec/watircraft_bin_spec.rb
bret-watircraft-0.4.5 spec/watircraft_bin_spec.rb
bret-watircraft-0.5.0 spec/watircraft_bin_spec.rb