Commit 7d4da611 authored by Denys Mishunov's avatar Denys Mishunov

Disable FF when generating fixtures

Since a lot of tests depend on certain DOM elements to be presented in
the markup for the snippet view, the fixtures should be generated with
FF disabled to fallback to the HAML markup before the Vue components
get implemented
parent 6e032f66
...@@ -17,6 +17,7 @@ describe SnippetsController, '(JavaScript fixtures)', type: :controller do ...@@ -17,6 +17,7 @@ describe SnippetsController, '(JavaScript fixtures)', type: :controller do
end end
before do before do
stub_feature_flags(snippets_vue: false)
sign_in(admin) sign_in(admin)
allow(Discussion).to receive(:build_discussion_id).and_return(['discussionid:ceterumcenseo']) allow(Discussion).to receive(:build_discussion_id).and_return(['discussionid:ceterumcenseo'])
end end
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment