spec/features/associating_works_spec.rb in curate-0.5.1 vs spec/features/associating_works_spec.rb in curate-0.5.2
- old
+ new
@@ -61,10 +61,10 @@
fill_in 'generic_work_related_work_tokens', :with => dataset2.pid
click_button 'Update Related Works'
page.should have_field("generic_work_related_work_tokens", with: dataset2.pid)
end
visit curation_concern_dataset_path(dataset2)
- within ('table.referenced_by_works') do
+ within ('table.referenced-by-works') do
expect(page).to have_link(work.title, href: curation_concern_generic_work_path(work))
end
end
end