Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI: Clean up Dynamic UI for CRUD #6994

Merged
merged 20 commits into from
Jul 1, 2019
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
remove edit-form test looking for a delete button
  • Loading branch information
Madalyn Parker committed Jun 28, 2019
commit ca5b3075b54f06ff8382fc905c989a835637e207
11 changes: 0 additions & 11 deletions ui/tests/integration/components/edit-form-test.js
Original file line number Diff line number Diff line change
Expand Up @@ -50,17 +50,6 @@ module('Integration | Component | edit form', function(hooks) {
assert.equal(component.deleteText, 'Delete');
});

test('it renders: custom deleteButton', async function(assert) {
let model = createModel();
let delText = 'Exterminate';
this.set('model', model);
this.set('deleteButtonText', delText);
await render(hbs`{{edit-form model=model deleteButtonText=deleteButtonText}}`);

assert.ok(component.showsDelete);
assert.equal(component.deleteText, delText);
});

test('it calls flash message fns on save', async function(assert) {
let model = createModel();
let onSave = () => {
Expand Down