@@ -248,7 +248,7 @@ def compare_to_server(model, expression, expected_result, load=true)
248248 p . imageable = Product . find ( 1 )
249249 p . save
250250 end
251- wait_for_ajax # so pusher can initialize
251+ # wait_for_ajax # so pusher can initialize
252252 compare_to_server @imageable1 , 'pictures.collect(&:name)' , [ 'picture12' ] , false
253253 compare_to_server @imageable2 , 'pictures.collect(&:name)' , [ 'picture11' , 'picture21' , 'picture22' ] , false
254254 end
@@ -263,7 +263,7 @@ def compare_to_server(model, expression, expected_result, load=true)
263263 p = Picture . find_by_name ( 'picture11' )
264264 p . imageable = @imageable2
265265 p . save
266- wait_for_ajax # so pusher can initialize
266+ # wait_for_ajax # so pusher can initialize
267267 compare_to_server @imageable1 , 'pictures.collect(&:name)' , [ 'picture12' ]
268268 compare_to_server @imageable2 , 'pictures.collect(&:name)' , [ 'picture11' , 'picture21' , 'picture22' ]
269269 end
@@ -295,20 +295,20 @@ class Testing123 < HyperComponent
295295
296296 it 'loads previously defined data client side' do
297297 @uzer1 . groups << @group1
298- wait_for_ajax # so pusher can initialize
298+ # wait_for_ajax # so pusher can initialize
299299 compare_to_server @group1 , 'uzers.collect(&:id)' , [ @uzer1 . id ] , false
300300 end
301301
302- xit 'creates due to a broadcast client side' do
303- Hyperstack ::Connection . show_diagnostics = true
302+ it 'creates due to a broadcast client side' do
303+ # Hyperstack::Connection.show_diagnostics = true
304304 @uzer1 . groups << @group1
305305 compare_to_server @group1 , 'uzers.collect(&:id)' , [ @uzer1 . id ] , false
306306 end
307307
308308 it 'destroys due to a broadcast client side' do
309- Hyperstack ::Connection . show_diagnostics = false
309+ # Hyperstack::Connection.show_diagnostics = false
310310 @uzer1 . groups << @group1 # server side
311- wait_for_ajax # so pusher can initialize
311+ # wait_for_ajax # so pusher can initialize
312312 compare_to_server @group1 , 'uzers.collect(&:id)' , [ @uzer1 . id ] , false # client
313313 Membership . find_by ( uzer : @uzer1 , memerable : @group1 ) . destroy # server side
314314 compare_to_server @group1 , 'uzers.count' , 0 , false # client side
0 commit comments