Permalink
Browse files

Whitespace

  • Loading branch information...
1 parent 484f3ba commit bf9fa4b8392ea88df6e75bdccb3fad23e66057fd @bkeepers bkeepers committed Nov 28, 2011
Showing with 4 additions and 4 deletions.
  1. +4 −4 test/test_joint.rb
View
@@ -72,7 +72,7 @@ def @image.size
Asset.attachment_accessor_module.should be_instance_of(Module)
EmbeddedAsset.attachment_accessor_module.should be_instance_of(Module)
end
-
+
context "with inheritance" do
should "add attachment to attachment_names" do
BaseModel.attachment_names.should == Set.new([:file])
@@ -167,7 +167,7 @@ def @image.size
subject.save
end
end
-
+
context "Assigning new attachments to embedded document" do
setup do
@asset = Asset.new
@@ -428,7 +428,7 @@ def @image.size
subject.image = nil
subject.image.nil?.should be(true)
end
-
+
should "respond with true when asked if the attachment is blank?" do
subject.image = nil
subject.image.blank?.should be(true)
@@ -502,7 +502,7 @@ def @image.size
assert_grid_difference(-1) { subject._root_document.destroy }
end
end
-
+
# What about when an embedded document is removed?
context "Assigning file name" do

0 comments on commit bf9fa4b

Please sign in to comment.