[try] fix unstable spec result on Circle CI beyond file creation

This commit is contained in:
uu59 2014-05-15 16:56:33 +09:00
parent 03f4e65761
commit 87f136e5cd
2 changed files with 4 additions and 1 deletions

3
circle.yml Normal file
View File

@ -0,0 +1,3 @@
checkout:
post:
- mkdir -p tmp

View File

@ -4,7 +4,7 @@ describe Plugin do
let(:plugin) { FactoryGirl.build(:plugin) }
before do
Plugin.stub(:gemfile_path).and_return { "/tmp/fluentd-ui-test-gemfile.plugins" } # NOTE: can't create a file under Rails.root directory on Circle CI
Plugin.stub(:gemfile_path).and_return { Rails.root + "tmp/fluentd-ui-test-gemfile.plugins" }
end
after do