Sha256: 74a3a8bed3e11d169d22dc5bee3d5124560285fe2f33397251532d71355b6bb9

Contents?: true

Size: 567 Bytes

Versions: 12

Compression:

Stored size: 567 Bytes

Contents

require File.dirname(__FILE__) + '/../../../spec_helper'
require 'spec/runner/formatter/base_text_formatter'
require 'fileutils'

module Spec
  module Runner
    module Formatter
      describe BaseTextFormatter do
        
        before :all do
          @sandbox = "spec/sandbox"
        end

        it "should create the directory contained in WHERE if it does not exist" do
          FileUtils.should_receive(:mkdir_p).with(@sandbox)
          File.stub!(:open)
          BaseTextFormatter.new({},"#{@sandbox}/temp.rb")
        end

      end
    end
  end
end

Version data entries

12 entries across 12 versions & 5 rubygems

Version Path
dchelimsky-rspec-1.1.11.5 spec/spec/runner/formatter/base_text_formatter_spec.rb
dchelimsky-rspec-1.1.11.6 spec/spec/runner/formatter/base_text_formatter_spec.rb
dchelimsky-rspec-1.1.11.7 spec/spec/runner/formatter/base_text_formatter_spec.rb
dchelimsky-rspec-1.1.12 spec/spec/runner/formatter/base_text_formatter_spec.rb
newbamboo-evented-rspec-1.1.12 spec/spec/runner/formatter/base_text_formatter_spec.rb
newbamboo-rspec-1.1.12 spec/spec/runner/formatter/base_text_formatter_spec.rb
rspec-1.1.12 spec/spec/runner/formatter/base_text_formatter_spec.rb
spree-0.6.0 vendor/plugins/rspec/spec/spec/runner/formatter/base_text_formatter_spec.rb
spree-0.7.0 vendor/plugins/rspec/spec/spec/runner/formatter/base_text_formatter_spec.rb
spree-0.7.1 vendor/plugins/rspec/spec/spec/runner/formatter/base_text_formatter_spec.rb
spree-0.8.0 vendor/plugins/rspec/spec/spec/runner/formatter/base_text_formatter_spec.rb
spree-0.8.1 vendor/plugins/rspec/spec/spec/runner/formatter/base_text_formatter_spec.rb