Remove typo in specs. (thanks Brian Colfer for spotting it)
Signed-off-by: Marcos Tapajós <tapajos@gmail.com>
This commit is contained in:
parent
9437678380
commit
b20bfad11f
1 changed files with 6 additions and 6 deletions
|
@ -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),
|
||||||
|
|
Loading…
Add table
Reference in a new issue