Remove typo in specs. (thanks Brian Colfer for spotting it)
This commit is contained in:
parent
1a7154f5bf
commit
626f997ff1
|
@ -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),
|
||||
|
|
Loading…
Reference in a new issue