[ARVADOS] updated: 0fe8a55af3116f6097fcbb8c18775ac35c32274b

git at public.curoverse.com git at public.curoverse.com
Wed Aug 27 14:27:19 EDT 2014


Summary of changes:
 apps/workbench/test/integration/projects_test.rb | 8 ++++++--
 1 file changed, 6 insertions(+), 2 deletions(-)

       via  0fe8a55af3116f6097fcbb8c18775ac35c32274b (commit)
      from  0b3427a023ddfb5443e5c63ad65b2ef80d9865f7 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.


commit 0fe8a55af3116f6097fcbb8c18775ac35c32274b
Author: radhika <radhika at curoverse.com>
Date:   Wed Aug 27 14:24:33 2014 -0400

    3339: update test to verify textile description in my projects panel in dashboard.

diff --git a/apps/workbench/test/integration/projects_test.rb b/apps/workbench/test/integration/projects_test.rb
index 07a7b10..1f7fb36 100644
--- a/apps/workbench/test/integration/projects_test.rb
+++ b/apps/workbench/test/integration/projects_test.rb
@@ -39,14 +39,18 @@ class ProjectsTest < ActionDispatch::IntegrationTest
       wait_for_ajax
     end
     visit current_path
+    assert(has_no_text?('.container-fluid', text: '*Textile description for A project*'),
+           "Description is not rendered properly")
     assert(find?('.container-fluid', text: 'Textile description for A project'),
            "Description update did not survive page refresh")
     assert(!find?('.container-fluid', text: '*Textile description for A project*'),
            "Textile description is displayed with uninterpreted formatting characters")
     assert(page.has_link?("take me home"), "link not found in description")
     click_link 'take me home'
-    assert page.has_text?('My projects')
-    assert page.has_text?('Projects shared with me')
+    assert(page.has_text?('My projects'), 'My projects - not found on dashboard')
+    assert(page.has_text?('Projects shared with me'), 'Projects shared with me - not found on dashboard')
+    assert(page.has_text?('Textile description for A project'), "Project description not found")
+    assert(page.has_no_text?('*Textile description for A project*'), "Project description is not rendered properly")
   end
 
   test 'Find a project and edit description to html description' do

-----------------------------------------------------------------------


hooks/post-receive
-- 




More information about the arvados-commits mailing list