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