Skip to content

Commit

Permalink
[explore] 'Save as' -> 'Save' as it can be used to overwrite (#2875)
Browse files Browse the repository at this point in the history
* [explore] 'Save as' -> 'Save' as it can be used to overwrite

* Fix tests
  • Loading branch information
mistercrunch authored May 31, 2017
1 parent 90e4d64 commit c5f2eaf
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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 &&
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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', () => {
Expand Down

0 comments on commit c5f2eaf

Please sign in to comment.