 
     expect(object.options.name).toBe 'Fatih'
 
-  it 'should set options with setOptions method', ->
+
+  it 'should set data with setData method', ->
     data   = name: 'Fatih'
     object = new spark.object.Object
 


    expect(object.data.name).toBe 'Fatih'

  it 'should get options with getOptions method', ->
    options = name: 'Fatih'
    object  = new spark.object.Object options

    expect(object.getOptions()).toBe options

  it 'should get an option with getOption method', ->
    options = name: 'Fatih'

    expect(object.options).toBe options
    expect(object.options.name).toBe 'Fatih'


  it 'should set data passed to constructor', ->
    data   = name: 'Fatih', age: 27
    object = new spark.object.Object null, data
