We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 10162bb commit 1f7e7afCopy full SHA for 1f7e7af
1 file changed
spec/helpers/pageflow/panorama/packages_helper_spec.rb
@@ -30,13 +30,13 @@ module Panorama
30
end
31
32
it 'should return the packages index document path' do
33
- panorama_package_file = create_used_file(:package)
+ panorama_package_file = create_used_file(:package, index_document: 'index.html')
34
configuration = {
35
'panorama_package_id' => panorama_package_file.perma_id
36
}
37
38
url = helper.panorama_url(configuration)
39
- expect(url).to match(/#{panorama_package_file.id}\/unpacked\/#{panorama_package_file.id}/)
+ expect(url).to match(/#{panorama_package_file.id}\/unpacked\/index.html/)
40
41
42
0 commit comments