Sha256: 1a26ce88189ac2ff04bd23ecd6a7e22c5535e1c7638c09144449a5f56868dd09

Contents?: true

Size: 571 Bytes

Versions: 6

Compression:

Stored size: 571 Bytes

Contents

require File.expand_path(File.join(File.dirname(__FILE__), "spec_helper"))

describe "Jasmine command line tool" do
  context "when rake has not been required yet" do
    before :each do
      temp_dir_before
      Dir::chdir @tmp
    end

    after :each do
      temp_dir_after
    end

    it "should append to an existing Rakefile" do
      FileUtils.cp("#{@old_dir}/spec/fixture/Rakefile", @tmp)
      output = capture_stdout { Jasmine::CommandLineTool.new.process ["init"] }
      output.should =~ /Jasmine has been installed with example specs./
    end
  end
end

Version data entries

6 entries across 6 versions & 1 rubygems

Version Path
jasmine-1.2.0.rc3 spec/jasmine_command_line_tool_rakeless_spec.rb
jasmine-1.1.2 spec/jasmine_command_line_tool_rakeless_spec.rb
jasmine-1.1.0 spec/jasmine_command_line_tool_rakeless_spec.rb
jasmine-1.1.0.rc4 spec/jasmine_command_line_tool_rakeless_spec.rb
jasmine-1.1.0.rc3 spec/jasmine_command_line_tool_rakeless_spec.rb
jasmine-1.1.0.rc2 spec/jasmine_command_line_tool_rakeless_spec.rb