projects
/
arvados.git
/ commitdiff
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
16c58b7
)
Replace unfailable assert() with a comment explaining what it means
author
Tom Clegg <tom@curoverse.com>
Tue, 6 May 2014 16:37:29 +0000
(12:37 -0400)
committer
Tom Clegg <tom@curoverse.com>
Tue, 6 May 2014 16:37:29 +0000
(12:37 -0400)
for find() to raise an exception.
apps/workbench/test/integration/folders_test.rb
patch
|
blob
|
history
diff --git
a/apps/workbench/test/integration/folders_test.rb
b/apps/workbench/test/integration/folders_test.rb
index a199808d1ec7fcf4c9d1f034954d9ffda3c6d363..b39cf24ae07d5258cddf264615e45e625be46991 100644
(file)
--- a/
apps/workbench/test/integration/folders_test.rb
+++ b/
apps/workbench/test/integration/folders_test.rb
@@
-20,8
+20,8
@@
class FoldersTest < ActionDispatch::IntegrationTest
page.assert_no_selector '.editable-submit'
end
visit current_path
- assert(find('.panel', text: 'I just edited this.'),
- "Description should stay updated after editing and refreshing page.")
+ # Raise exception if description update did not survive page refresh:
+ find '.panel', text: 'I just edited this.'
end
test 'Add a new name, then edit it, without creating a duplicate' do