/ Published in: Rails
Expand |
Embed | Plain Text
Copy this code and paste it in your HTML
public void testRefreshDoesNotAddContentIfAlreadyExists(){ queue = mockClipBoardQueue(true,"1"); insertDummyValuesIntoQueue(3); assertFalse(queue.refresh()); assertEquals(3, queue.getQueue().size()); }