mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-30 12:45:48 -04:00
11 lines
179 B
Ruby
11 lines
179 B
Ruby
require 'rails_helper'
|
|
|
|
describe Product do
|
|
|
|
it "stringifies using the name" do
|
|
@product = FactoryGirl.create(:product)
|
|
@product.to_s.should eq @product.name
|
|
end
|
|
|
|
end
|