[explore] 'Save as' -> 'Save' as it can be used to overwrite (#2875)
* [explore] 'Save as' -> 'Save' as it can be used to overwrite * Fix tests
This commit is contained in:
parent
90e4d6469d
commit
c5f2eafc90
|
|
@ -56,7 +56,7 @@ export default function QueryAndSaveBtns(
|
|||
disabled={saveButtonDisabled}
|
||||
onClick={onSave}
|
||||
>
|
||||
<i className="fa fa-plus-circle" /> Save as
|
||||
<i className="fa fa-plus-circle" /> Save
|
||||
</Button>
|
||||
</ButtonGroup>
|
||||
{errorMessage &&
|
||||
|
|
|
|||
|
|
@ -32,7 +32,7 @@ describe('QueryAndSaveButtons', () => {
|
|||
|
||||
it('renders buttons with correct text', () => {
|
||||
expect(wrapper.find(Button).contains(' Query')).to.eql(true);
|
||||
expect(wrapper.find(Button).contains(' Save as')).to.eql(true);
|
||||
expect(wrapper.find(Button).contains(' Save')).to.eql(true);
|
||||
});
|
||||
|
||||
it('calls onQuery when query button is clicked', () => {
|
||||
|
|
|
|||
Loading…
Reference in New Issue