Permalink
Browse files

ObserverGenerator spec uses Dir.tmpdir

  • Loading branch information...
1 parent 3662013 commit 8a923e1aa2fb8a20f8f9c4e721bbe6d33482a67e @bernerdschaefer bernerdschaefer committed Apr 18, 2012
Showing with 1 addition and 1 deletion.
  1. +1 −1 spec/generators/mongoid/observer/observer_generator_spec.rb
View
2 spec/generators/mongoid/observer/observer_generator_spec.rb
@@ -3,7 +3,7 @@
describe Mongoid::Generators::ObserverGenerator do
- destination File.expand_path("../../../../../../tmp", __FILE__)
+ destination Dir.tmpdir
before do
Rails.stubs(:application).returns(mock)

0 comments on commit 8a923e1

Please sign in to comment.