- About Me
- These are Integration Tests
- How I Think About Tests
- Anatomy of a Test
- Assertions
- Passing Models
- Running the Test
" Make Vim more useful | |
set nocompatible | |
filetype off " required | |
" set the runtime path to include Vundle and initialize | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
" alternatively, pass a path where Vundle should install plugins | |
"call vundle#begin('~/some/path/here') |
git log —decorate —oneline from..to |
App.SomeRoute = Ember.Route.extend | |
model: -> | |
@.store.find('some_data') | |
setupController: (controller, model) -> | |
@.controllerFor('some.index').set('model', model) |
import grails.test.GroovyPagesTestCase
class ReceiptAttacherTest extends GroovyPagesTestCase {
def lineItemModelService
def receiptService
void testAttachReceiptFromCreateOrItemizeModal_AttachmentShouldOpenInNewWindow() {
//given
def file = new File("grails-app/views/receipt/_drawerReceipt.gsp")
import grails.test.GroovyPagesTestCase
class ReceiptAttacherTest extends GroovyPagesTestCase {
def lineItemModelService
def receiptService
void testAttachReceiptFromCreateOrItemizeModal_AttachmentShouldOpenInNewWindow() {
//given
` def file = new File("grails-app/views/receipt/_drawerReceipt.gsp")
import grails.test.GroovyPagesTestCase
class ReceiptAttacherTest extends GroovyPagesTestCase {
def lineItemModelService
def receiptService
void testAttachReceiptFromCreateOrItemizeModal_AttachmentShouldOpenInNewWindow() {
//given
def file = new File("grails-app/views/receipt/_drawerReceipt.gsp")
`import grails.test.GroovyPagesTestCase class ReceiptAttacherTest extends GroovyPagesTestCase { def lineItemModelService def receiptService void testAttachReceiptFromCreateOrItemizeModal_AttachmentShouldOpenInNewWindow() { //given def file = new File("grails-app/views/receipt/_drawerReceipt.gsp")