spec/integration_spec_helper.rb in rmega-0.1.0 vs spec/integration_spec_helper.rb in rmega-0.1.1
- old
+ new
@@ -20,8 +20,8 @@
def temp_folder
'/tmp/.rmega_spec'
end
RSpec.configure do |config|
- config.before { FileUtils.mkdir_p(temp_folder) }
- config.after { FileUtils.rm_rf(temp_folder) }
+ config.before(:all) { FileUtils.mkdir_p(temp_folder) }
+ config.after(:all) { FileUtils.rm_rf(temp_folder) }
end