5493: test uncovered an issue with getting_started_shown handling; fixed it.
[arvados.git] / apps / workbench / test / integration / anonymous_access_test.rb
index 0eaae4797baa72559747b514eef4bd8de6f6ab2e..0fb21b2d2f063530d0d175e2229c46d35de70408 100644 (file)
@@ -22,7 +22,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest
         assert_text 'indicate that you have read and accepted the user agreement'
       end
       within('.navbar-fixed-top') do
-        assert_selector 'a', text:Rails.configuration.site_name.downcase
+        assert_selector 'a', text: Rails.configuration.site_name.downcase
         assert_selector 'a', text: "#{user['email']}"
         find('a', text: "#{user['email']}").click
         within('.dropdown-menu') do
@@ -33,7 +33,7 @@ class AnonymousAccessTest < ActionDispatch::IntegrationTest
       assert_text 'Unrestricted public data'
       within('.navbar-fixed-top') do
         assert_text Rails.configuration.site_name.downcase
-        assert_no_selector 'a', text:Rails.configuration.site_name.downcase
+        assert_no_selector 'a', text: Rails.configuration.site_name.downcase
         assert_selector 'a', text: 'Log in'
       end
     end