Skip to content
This repository has been archived by the owner on May 11, 2022. It is now read-only.

Commit

Permalink
Avoid using deprecated set_read_rights method
Browse files Browse the repository at this point in the history
  • Loading branch information
jcoyne committed Apr 24, 2019
1 parent 901d3cc commit 8e5d781
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/indexers/processable_indexer_spec.rb
Expand Up @@ -34,7 +34,7 @@
end

it 'includes a rights facet' do
obj.set_read_rights('world')
obj.read_rights = 'world'
expect(solr_doc).to match a_hash_including('rights_ssim' => ['World'], :id => obj.pid)
end

Expand Down

0 comments on commit 8e5d781

Please sign in to comment.