Skip to content

Commit

Permalink
fix test
Browse files Browse the repository at this point in the history
  • Loading branch information
whomingbird committed Aug 14, 2023
1 parent 70a1311 commit 9ef544c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

<% resource.custom_metadata.custom_metadata_attributes.each do |attribute| %>
<% unless resource.custom_metadata.data[attribute.title].blank? %>
<div>
<div class="custom_metadata">
<% if attribute.linked_custom_metadata? || attribute.linked_custom_metadata_multi? %>
<%= content_tag(:span, class: 'linked_custom_metdata_display') do %>
<%= folding_panel(attribute.label, true, id:attribute.title) do %>
Expand Down
2 changes: 1 addition & 1 deletion test/functional/studies_controller_test.rb
Original file line number Diff line number Diff line change
Expand Up @@ -876,7 +876,7 @@ def test_should_show_investigation_tab
get :show, params: { id: study }
assert_response :success

assert_select 'p',text:/Granny Smith/, count:2
assert_select 'div.custom_metadata',text:/Granny Smith/, count:2
end

test 'should create and update study with linked custom metadata type' do
Expand Down

0 comments on commit 9ef544c

Please sign in to comment.