Skip to content

Commit

Permalink
[busted] load integration fixtures too
Browse files Browse the repository at this point in the history
  • Loading branch information
mikz committed Jan 25, 2019
1 parent 5285b21 commit 28d636c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/spec_helper.lua
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ _G.fixture = function (...)
local path = require('pl.path')
local file = require('pl.file')

return file.read(path.join('spec', 'fixtures', ...))
return file.read(path.join('spec', 'fixtures', ...)) or file.read(path.join('t', 'fixtures', ...))
end

do -- stub http_ng
Expand Down

0 comments on commit 28d636c

Please sign in to comment.