spec/javascripts/TransistorRadioSpec.js in transistor-0.1.9 vs spec/javascripts/TransistorRadioSpec.js in transistor-0.1.10
- old
+ new
@@ -29,11 +29,11 @@
args: args
});
});
});
- waits(100);
+ waits(200);
runs(function () {
assertEqual(calls.length, 1);
assertEqual(calls[0].event, 'init');
assertEqual(calls[0].args, []);
@@ -56,11 +56,11 @@
args: args
});
});
});
- waits(100);
+ waits(200);
runs(function () {
assertEqual(calls.length, 1);
assertEqual(calls[0].event, 'init');
assertEqual(calls[0].args, [{abcd: 1}, {efgh: 23}]);
@@ -83,11 +83,11 @@
args: args
});
});
});
- waits(100);
+ waits(200);
runs(function () {
channel_path = '/station_uid/token/test/channel'
message = {
event: 'insert',
@@ -97,10 +97,10 @@
}
faye['with_collection'].publish(channel_path, message)
});
- waits(100);
+ waits(200);
runs(function () {
assertEqual(calls.length, 2);
assertEqual(calls[1].event, 'insert');
assertEqual(calls[1].args, {entry: {}});