Add feature allow_images flag to installation specs

This commit is contained in:
Bertocq
2017-12-13 14:30:43 +01:00
parent f376707b2d
commit 34f07bcc82

View File

@@ -18,7 +18,8 @@ describe InstallationController, type: :request do
'user.recommendations' => nil, 'user.recommendations' => nil,
'community' => nil, 'community' => nil,
'map' => 't', 'map' => 't',
'spending_proposal_features.voting_allowed' => 't' 'spending_proposal_features.voting_allowed' => 't',
'allow_images' => 't'
} }
end end
@@ -41,6 +42,7 @@ describe InstallationController, type: :request do
Setting['feature.community'] = true Setting['feature.community'] = true
Setting['feature.map'] = nil Setting['feature.map'] = nil
Setting['feature.spending_proposal_features.voting_allowed'] = nil Setting['feature.spending_proposal_features.voting_allowed'] = nil
Setting['feature.allow_images'] = true
end end
specify "with query string inside query params" do specify "with query string inside query params" do