diff --git a/spec/cocoon_spec.rb b/spec/cocoon_spec.rb
index b52ea8f..71b10d0 100644
--- a/spec/cocoon_spec.rb
+++ b/spec/cocoon_spec.rb
@@ -21,12 +21,12 @@ describe Cocoon do
context "without a block" do
it "should accept a name" do
result = @tester.link_to_add_association('add something', @form_obj, :comments)
- result.to_s.should == 'add something'
+ result.to_s.should == 'add something'
end
it "should accept html options and pass them to link_to" do
result = @tester.link_to_add_association('add something', @form_obj, :comments, {:class => 'something silly'})
- result.to_s.should == 'add something'
+ result.to_s.should == 'add something'
end
end
@@ -35,14 +35,14 @@ describe Cocoon do
result = @tester.link_to_add_association(@form_obj, :comments) do
"some long name"
end
- result.to_s.should == 'some long name'
+ result.to_s.should == 'some long name'
end
it "should accept html options and pass them to link_to" do
result = @tester.link_to_add_association(@form_obj, :comments, {:class => 'floppy disk'}) do
"some long name"
end
- result.to_s.should == 'some long name'
+ result.to_s.should == 'some long name'
end
end
@@ -50,7 +50,7 @@ describe Cocoon do
context "with an irregular plural" do
it "should use the correct plural" do
result = @tester.link_to_add_association('add something', @form_obj, :people)
- result.to_s.should == 'add something'
+ result.to_s.should == 'add something'
end
end