Sha256: 333787417d9f4f9c1ed6bcd9a1c206c00c049e5b1ffc86e153a223bb46b90b2e

Contents?: true

Size: 473 Bytes

Versions: 2

Compression:

Stored size: 473 Bytes

Contents

// ========================================================================
// SC.keys Tests
// ========================================================================
/*globals module test */

module("Fetch Keys ");

test("should get a key array for a specified object ",function(){
	var object1 = {};

	object1.names = "Rahul";
	object1.age = "23";
	object1.place = "Mangalore";

	var object2 = [];
	object2 = SC.keys(object1);
	equals(object2,'names,age,place');
});


Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
sproutit-sproutcore-1.0.0.20090408130025 frameworks/sproutcore/frameworks/runtime/tests/core/keys.js
sproutit-sproutcore-1.0.0.20090416161445 frameworks/sproutcore/frameworks/runtime/tests/core/keys.js