mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-29 12:12:57 -04:00
9 lines
177 B
Ruby
9 lines
177 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
|