New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

improve work indexing of representative data #736

Merged
merged 5 commits into from Jul 28, 2017
Prev

be more precise in spec per anna

  • Loading branch information...
jrochkind committed Jul 26, 2017
commit fc5d7dc20fb680b17505738cf73b4277e0669193
@@ -104,8 +104,6 @@
end
describe "when child work representative is updated" do
let(:new_width) { 1000 }
let(:new_height) { 2000 }
let(:new_file_set) { FactoryGirl.create(:file_set, :public) }
before do
@@ -126,7 +124,7 @@
child_work.save!
indexed_parent = SolrDocument.find(work.id)
expect(indexed_parent["representative_original_file_id_tesim"]).to include(new_file_set.original_file.id)
expect(indexed_parent["representative_original_file_id_tesim"]).to contain_exactly(new_file_set.original_file.id)
end
end
end
ProTip! Use n and p to navigate between commits in a pull request.