mirror of
https://github.com/kemko/nomad.git
synced 2026-01-05 09:55:44 +03:00
Remove redundant assertions
These are more things that are already covered elsewhere.
This commit is contained in:
@@ -284,12 +284,7 @@ module('Acceptance | exec', function(hooks) {
|
||||
|
||||
let mockSocket = new MockSocket();
|
||||
let mockSockets = Service.extend({
|
||||
getTaskStateSocket(taskState, command) {
|
||||
assert.equal(taskState.name, task.name);
|
||||
assert.equal(taskState.allocation.id, allocation.id);
|
||||
|
||||
assert.equal(command, '/bin/bash');
|
||||
|
||||
getTaskStateSocket() {
|
||||
assert.step('Socket built');
|
||||
|
||||
return mockSocket;
|
||||
|
||||
Reference in New Issue
Block a user