Skip to content

Commit

Permalink
fix spec file
Browse files Browse the repository at this point in the history
  • Loading branch information
nabeta committed Dec 4, 2021
1 parent 5904b4c commit c778a63
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions spec/models/manifestation_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -204,8 +204,8 @@
csv["classification:ndc9"].compact.inject(0){|count, a| count += 1 if a == '400'; count}.should eq manifestations(:manifestation_00001).items.count
csv["extent"].compact.should_not be_empty
csv["dimensions"].compact.should_not be_empty
csv["manifestation_memo"].compact.should_not be_empty
csv["item_memo"].compact.should_not be_empty
csv["manifestation_memo"].compact.should be_empty
csv["item_memo"].compact.should be_empty
end

it "should export edition fields" do
Expand Down Expand Up @@ -263,6 +263,8 @@
expect(csv["bookstore"].compact).not_to be_empty
expect(csv["item_price"].compact).not_to be_empty
expect(csv["budget_type"].compact).not_to be_empty
expect(csv["manifestation_memo"].compact).not_to be_empty
expect(csv["item_memo"].compact).not_to be_empty
end

it 'should escape LF/CR to "\n"' do
Expand Down

0 comments on commit c778a63

Please sign in to comment.