Commit f652c578 authored by Jan Beckmann's avatar Jan Beckmann Committed by Rémy Coutable

Minor fixes

parent 319995fa
...@@ -160,7 +160,7 @@ const Api = { ...@@ -160,7 +160,7 @@ const Api = {
}; };
return axios return axios
.get(url, { .get(url, {
params: Object.assign(defaults, options), params: Object.assign({}, defaults, options),
}) })
.then(({ data }) => callback(data)); .then(({ data }) => callback(data));
}, },
......
...@@ -64,7 +64,7 @@ feature 'Group empty states' do ...@@ -64,7 +64,7 @@ feature 'Group empty states' do
expect(page).to have_selector('.empty-state') expect(page).to have_selector('.empty-state')
end end
it "shows a new #{issuable_name} button" do it "does not show a new #{issuable_name} button" do
within '.empty-state' do within '.empty-state' do
expect(page).not_to have_link("create #{issuable_name}") expect(page).not_to have_link("create #{issuable_name}")
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