Skip to content

Commit

Permalink
fixing specs to use OS tmp dir
Browse files Browse the repository at this point in the history
  • Loading branch information
originalpete committed Mar 27, 2013
1 parent dc9c3a4 commit 9a0c81d
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,5 @@ tmp

/.bundle
vendor/jruby
vendor/ruby
.rbenv-gemsets
3 changes: 2 additions & 1 deletion spec/spec_helper.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,10 @@
require 'rspec/autorun'
require 'rr'
require 'fileutils'
require 'tmpdir'

RSpec.configure do |config|
config.include(RR::Adapters::RSpec2)
end

TMP_DIR = File.expand_path("../../tmp", __FILE__)
TMP_DIR = Dir.tmpdir

0 comments on commit 9a0c81d

Please sign in to comment.