renames legislation body id
This commit is contained in:
@@ -2,6 +2,6 @@
|
||||
data-annotatable-id="<%= @legislation.id %>">
|
||||
|
||||
<div><%= @legislation.title %></div>
|
||||
<div id="test"><%= @legislation.body %></div>
|
||||
<div id="legislation_body"><%= @legislation.body %></div>
|
||||
|
||||
</section>
|
||||
|
||||
@@ -21,9 +21,8 @@ feature 'Legislation' do
|
||||
|
||||
visit legislation_path(legislation)
|
||||
|
||||
page.find(:css, "#test").double_click
|
||||
page.find(:css, "#legislation_body").double_click
|
||||
page.find(:css, ".annotator-adder button").click
|
||||
|
||||
fill_in 'annotator-field-0', with: 'this is my annotation'
|
||||
page.find(:css, ".annotator-controls a[href='#save']").click
|
||||
|
||||
|
||||
Reference in New Issue
Block a user