spec/lib/attachments_spec.rb in active_metadata-0.7.4 vs spec/lib/attachments_spec.rb in active_metadata-0.7.5

- old
+ new

@@ -123,12 +123,12 @@ @document.attachments_for(:name).last.updated_by.should eq User.current.id end it "should has_notes_for verify if defined field has attachments" do - @document.has_attachments_for(:name).should be_false - @document.save_attachment_for(:name, @attachment) - @document.has_attachments_for(:name).should be_true + @document.has_attachments_for(:surname).should be_false + @document.save_attachment_for(:surname, @attachment) + @document.has_attachments_for(:surname).should be_true end end describe "managing starred" do \ No newline at end of file