Commit 3c017776 authored by Winnie Hellmann's avatar Winnie Hellmann

Remove duplicate store_frontend_fixture() calls in EE

for f in $(find ee/spec/javascripts/fixtures/ -name *.rb)
do
  grep -v store_frontend_fixture < $f > $f.tmp; mv $f.tmp $f
done
parent da7af74e
......@@ -45,7 +45,6 @@ describe 'Epics (JavaScript fixtures)' do
presenter = EpicPresenter.new(epic, current_user: user)
@json_data = presenter.show_data(base_data: {}, author_icon: 'icon_path')
store_frontend_fixture(@json_data.to_json, example.description)
end
end
......@@ -61,7 +60,6 @@ describe 'Epics (JavaScript fixtures)' do
@group = epic.group
@json_data = helper.issuable_initial_data(epic)
store_frontend_fixture(@json_data.to_json, example.description)
end
end
end
......@@ -53,6 +53,5 @@ describe Projects::MergeRequestsController, '(JavaScript fixtures)', type: :cont
expect(merge_request.all_approvers_including_groups.size).to eq(1)
expect(response).to be_success
store_frontend_fixture(response, example.description)
end
end
......@@ -27,6 +27,5 @@ describe Groups::SamlProvidersController, '(JavaScript fixtures)', type: :contro
expect(response).to be_success
expect(response).to render_template 'groups/saml_providers/show'
store_frontend_fixture(response, example.description)
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