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)
74
74
wait_for_ajax
75
75
end
76
76
77
- it 'has a anti_csrf_token' do
78
- expect_evaluate_ruby ( 'Hyperstack.anti_csrf_token' ) . to be_present
79
- end
80
-
81
77
context "Pusher-Fake" do
82
78
before ( :all ) do
83
79
@@ -153,7 +149,7 @@ def connect(*args)
153
149
Hyperstack . connect_session = true
154
150
mount "TestComponent"
155
151
evaluate_ruby "Hyperstack.go_ahead_and_connect"
156
- wait_for_ajax rescue nil
152
+ wait_for_ajax # rescue nil
157
153
evaluate_ruby "MyControllerOp.run(data: 'hello')"
158
154
page . should have_content ( "hello" )
159
155
end
@@ -345,4 +341,10 @@ def connect(*args)
345
341
page . should have_content ( "hello" )
346
342
end
347
343
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
348
350
end
You can’t perform that action at this time.
0 commit comments