```ruby
FactoryGirl.define do
  factory :line_item do
    quantity "9.99"
    price "9.99"
    code "MyString"
    title "MyString"
    description "MyString"
    item nil
    type ""
    invoice nil
  end
end
```

Drop item, type, and invoice value in default LineItem factory.
user
```ruby
FactoryGirl.define do
  factory :line_item do
    quantity "9.99"
    price "9.99"
    code "MyString"
    title "MyString"
    description "MyString"
  end
end
```
assistant