Skip to content

Commit

Permalink
Remove duplicated test
Browse files Browse the repository at this point in the history
  • Loading branch information
asennikov committed Jan 23, 2016
1 parent 2555dff commit 1381162
Showing 1 changed file with 0 additions and 12 deletions.
12 changes: 0 additions & 12 deletions tests/unit/components/g-map-marker-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -254,18 +254,6 @@ test('it doesn\'t call `setLabel` of google marker on `setLabel` when no label p
sinon.assert.notCalled(fakeMarkerObject.setLabel);
});

test('it doesn\'t call `setLabel` of google marker on `setLabel` when no label present', function() {
fakeMarkerObject.setLabel = sinon.stub();

run(() => component.setProperties({
label: undefined,
marker: fakeMarkerObject
}));
run(() => component.setLabel());

sinon.assert.notCalled(fakeMarkerObject.setLabel);
});

test('it triggers `setTitle` on `didInsertElement` event', function() {
component.setTitle = sinon.stub();
component.trigger('didInsertElement');
Expand Down

0 comments on commit 1381162

Please sign in to comment.