Skip to content

Commit fb8cc47

Browse files
committed
without rspec steps require
1 parent a53168a commit fb8cc47

2 files changed

Lines changed: 7 additions & 8 deletions

File tree

ruby/hyper-model/spec/batch1/column_types/column_type_spec.rb

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,5 @@
11
require 'spec_helper'
22
require 'test_components'
3-
require 'rspec-steps'
43

54
describe "column types on client", js: true do
65

ruby/hyper-model/spec/batch7/poly_assoc_spec.rb

Lines changed: 7 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -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

Comments
 (0)