Skip to content

Commit c3ba2ce

Browse files
improve test names
1 parent 9de1e59 commit c3ba2ce

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

dev/tests/js/jasmine/tests/app/code/Magento/Ui/base/js/grid/data-storage.test.js

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -225,7 +225,7 @@ define([
225225
expect(model.getRequest).toHaveBeenCalled();
226226
});
227227

228-
it('Return "getRequestData" method', function () {
228+
it('it returns cached request data if a cached request exists and no refresh option is provided', function () {
229229
var params = {
230230
namespace: 'magento',
231231
search: '',
@@ -247,7 +247,7 @@ define([
247247
expect(model.getRequestData).toHaveBeenCalled();
248248
});
249249

250-
it('Return "requestData" method', function () {
250+
it('if refresh option is true so it will ignore cache and execute the requestData function', function () {
251251
var params = {
252252
namespace: 'magento',
253253
search: '',

0 commit comments

Comments
 (0)