Remove typo in specs. (thanks Brian Colfer for spotting it)

Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
Will Leinweber 2010-08-13 20:16:56 -05:00 committed by Marcos Tapajós
parent 9437678380
commit b20bfad11f

View file

@ -8,7 +8,7 @@ describe "Assocations" do
describe "of type belongs to" do
before :each do
@invoice = SaleInvoice.create(:price => "sam", :price => 2000)
@invoice = SaleInvoice.create(:price => 2000)
@client = Client.create(:name => "Sam Lown")
end
@ -69,7 +69,7 @@ describe "Assocations" do
describe "of type collection_of" do
before(:each) do
@invoice = SaleInvoice.create(:price => "sam", :price => 2000)
@invoice = SaleInvoice.create(:price => 2000)
@entries = [
SaleEntry.create(:description => 'test line 1', :price => 500),
SaleEntry.create(:description => 'test line 2', :price => 500),