spec/zebra/epl/label_spec.rb in zebra-epl-0.0.5 vs spec/zebra/epl/label_spec.rb in zebra-epl-0.0.6
- old
+ new
@@ -105,14 +105,9 @@
it "returns the tempfile" do
label.persist.should == tempfile
end
- it "dumps its contents to the tempfile" do
- tempfile.should_receive(:rewind)
- label.persist
- end
-
it "sets the `tempfile` attribute" do
label.persist
label.tempfile.should == tempfile
end
end