Skip to content

Commit

Permalink
Update test to point at embed
Browse files Browse the repository at this point in the history
  • Loading branch information
cbeer authored Jul 18, 2022
1 parent f6d8cb1 commit ed37dc1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/views/purl/_embed.html.erb_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@
render
expect(rendered).to have_selector '.purl-embed-viewer'
embed = Nokogiri::HTML(rendered).css('.purl-embed-viewer')
expect(embed.attr('data-oembed-provider').to_s).to eq 'https://purl.stanford.edu/embed.json?hide_title=true&hide_metadata=true'
expect(embed.attr('data-oembed-provider').to_s).to eq 'https://embed.stanford.edu/embed.json?hide_title=true&hide_metadata=true'
end

it 'display a non-javascript fallback' do
Expand Down

0 comments on commit ed37dc1

Please sign in to comment.