Skip to content

Commit

Permalink
added rspec tests
Browse files Browse the repository at this point in the history
  • Loading branch information
johndavid400 committed Feb 6, 2012
1 parent 7db3c46 commit 90ed671
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion spec/models/invoice_item_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Supplier do
describe InvoiceItem do
it { should belong_to(:supplier_invoice) }
it { should belong_to(:line_item)}
end
2 changes: 1 addition & 1 deletion spec/models/supplier_invoice_spec.rb
@@ -1,6 +1,6 @@
require 'spec_helper'

describe Supplier do
describe SupplierInvoice do
it { should belong_to(:supplier_invoice) }
it { should have_many(:invoice_items) }
end

0 comments on commit 90ed671

Please sign in to comment.