File tree Expand file tree Collapse file tree 1 file changed +7
-5
lines changed
ruby/hyper-operation/spec/aaa_run_first Expand file tree Collapse file tree 1 file changed +7
-5
lines changed Original file line number Diff line number Diff line change @@ -74,10 +74,6 @@ def connect(*args)
7474 wait_for_ajax
7575 end
7676
77- it 'has a anti_csrf_token' do
78- expect_evaluate_ruby ( 'Hyperstack.anti_csrf_token' ) . to be_present
79- end
80-
8177 context "Pusher-Fake" do
8278 before ( :all ) do
8379
@@ -153,7 +149,7 @@ def connect(*args)
153149 Hyperstack . connect_session = true
154150 mount "TestComponent"
155151 evaluate_ruby "Hyperstack.go_ahead_and_connect"
156- wait_for_ajax rescue nil
152+ wait_for_ajax # rescue nil
157153 evaluate_ruby "MyControllerOp.run(data: 'hello')"
158154 page . should have_content ( "hello" )
159155 end
@@ -345,4 +341,10 @@ def connect(*args)
345341 page . should have_content ( "hello" )
346342 end
347343 end
344+
345+ context 'Misc Tests' do
346+ it 'has a anti_csrf_token' do
347+ expect_evaluate_ruby ( 'Hyperstack.anti_csrf_token' ) . to be_present
348+ end
349+ end
348350end
You can’t perform that action at this time.
0 commit comments