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

This commit is contained in:
Will Leinweber 2010-08-13 20:16:56 -05:00
parent 1a7154f5bf
commit 626f997ff1

View file

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