spec/lib/hybag/ingester_spec.rb in hybag-0.0.4 vs spec/lib/hybag/ingester_spec.rb in hybag-0.0.5
- old
+ new
@@ -85,10 +85,9 @@
context "when there is a model" do
it "should return an instance of that model" do
expect(subject.ingest).to be_kind_of(BaggableDummy)
end
it "should assign that model a pid" do
- puts ActiveFedora::Base.assign_pid
expect((subject.ingest).pid).to eq "new_filler"
end
context "and that model is not defined" do
before(:each) do
subject.stub(:model_name).and_return("Blabla")