diff options
author | Seb Bacon <seb.bacon@gmail.com> | 2012-06-12 09:20:43 +0100 |
---|---|---|
committer | Seb Bacon <seb.bacon@gmail.com> | 2012-06-12 09:20:43 +0100 |
commit | 54fc48b9b66ce29f660064fbea3e71ea15b61d58 (patch) | |
tree | 85269b9ef4f62bce2393134981edf30adf370b05 /spec/integration/errors_spec.rb | |
parent | dc14834a5d85032645f3a410faae68089fb5fe1a (diff) | |
parent | 04653b52f2233c9b4fea6b690d16a825b974d36d (diff) |
Merge branch 'release/0.6' of github.com:sebbacon/alaveteli into release/0.6
Diffstat (limited to 'spec/integration/errors_spec.rb')
-rw-r--r-- | spec/integration/errors_spec.rb | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/integration/errors_spec.rb b/spec/integration/errors_spec.rb index ec2e1c376..4424b58c6 100644 --- a/spec/integration/errors_spec.rb +++ b/spec/integration/errors_spec.rb @@ -33,7 +33,7 @@ describe "When rendering errors" do end it "should render a 403 for attempts at directory listing for attachments" do # make a fake cache - foi_cache_path = File.join(File.dirname(__FILE__), '../../cache') + foi_cache_path = File.expand_path(File.join(File.dirname(__FILE__), '../../cache')) FileUtils.mkdir_p(File.join(foi_cache_path, "views/en/request/101/101/response/1/attach/html/1")) get("/request/101/response/1/attach/html/1/" ) response.code.should == "403" |