spec/lib/bidu/house/status_spec.rb in bidu-house-0.2.0 vs spec/lib/bidu/house/status_spec.rb in bidu-house-0.2.1

- old
+ new

@@ -96,11 +96,12 @@ let(:expected) do { status: :error, errors: { ids: ids, - percentage: 0.75 + percentage: 0.75, + status: :error } } end it 'creates a summary of the reports' do @@ -112,14 +113,16 @@ let(:expected) do { status: :error, errors: { ids: ids, - percentage: 0.75 + percentage: 0.75, + status: :error }, success: { ids: success_ids, - percentage: 0.25 + percentage: 0.25, + status: :error } } end let(:reports) { [ success_report, error_report ] }