Sha256: 22dd9f5b5c9089110cc899a5e28dc48dfa131574c295b0093023e0891f0eba22
Contents?: true
Size: 807 Bytes
Versions: 20
Compression:
Stored size: 807 Bytes
Contents
require 'spec_helper' describe "Jasmine command line tool" do before :each do temp_dir_before Dir::chdir @tmp end after :each do temp_dir_after end it "should create files on init" do output = capture_stdout { Jasmine::CommandLineTool.new.process ["init"] } output.should =~ /Jasmine has been installed with example specs./ my_jasmine_lib = File.expand_path(File.join(@root, "lib")) bootstrap = "$:.unshift('#{my_jasmine_lib}')" ENV['JASMINE_GEM_PATH'] = "#{@root}/lib" ci_output = `rake -E "#{bootstrap}" --trace jasmine:ci` ci_output.should =~ (/[1-9][0-9]* examples, 0 failures/) end it "should include license info" do output = capture_stdout { Jasmine::CommandLineTool.new.process ["license"] } output.should =~ /Copyright/ end end
Version data entries
20 entries across 20 versions & 3 rubygems