     ok !fixed.checked
     ok !free.checked
     ok trade.checked
-    equal context.get('ad.sale_type'), 'trade', 'checked attribute binds'
+    equal view.get('ad.sale_type'), 'trade', 'checked attribute binds'
 
     fixed.checked = true
     helpers.triggerChange(fixed)
-    equal context.get('ad.sale_type'), 'fixed'
+    equal view.get('ad.sale_type'), 'fixed'
     QUnit.start()
 
 asyncTest 'should bind to true and false values', ->

    QUnit.start()

asyncTest 'it should bind the input value and update the input when it changes', 2, ->
  context = Batman
    one: "qux"

  helpers.render '<input data-bind="one" type="text" />', context, (node) ->
    equal $(node[0]).val(), 'qux'
    context.set('one', "bar")
    equal $(node[0]).val(), 'bar'
    QUnit.start()

asyncTest 'it should bind the input value but not update the window object if the input changes', 2, ->
  context = Batman({})

  helpers.render '<input data-bind="nonexistantKey" type="text" />', context, (node) ->
    equal node[0].value, ''
    node[0].value = 'foo'
    helpers.triggerChange(node[0])

    [context, adapter] = getMockModel()
    ok !adapter.defaultRequestOptions.formData

    helpers.render '<input type="file" data-bind="fileAttributes"></input>', false, context, (node, view) ->
      helpers.triggerChange(node.childNodes[0])
      strictEqual view.fileAttributes, undefined
      QUnit.start()

  asyncTest 'it should bind the value of file type inputs with the "multiple" flag', 2, ->
    [context, adapter] = getMockModel()
    ok !adapter.defaultRequestOptions.formData

    helpers.render '<input type="file" data-bind="fileAttributes" multiple="multiple"></input>', false, context, (node, view) ->
      helpers.triggerChange(node.childNodes[0])
      deepEqual view.fileAttributes, []
      QUnit.start()

  asyncTest 'it should bind the value of file type inputs when they are proxied', 2, ->
