mirror of
https://github.com/Growstuff/growstuff.git
synced 2026-03-24 09:43:24 -04:00
* FactoryGirl Changed to FactoryBot file fix changes based on comments received Bundle Update on 2017-10-29 style update to align hash literal added package-lock * indentation fixes with rubocop * name added to contributors
9 lines
176 B
Ruby
9 lines
176 B
Ruby
require 'rails_helper'
|
|
|
|
describe Product do
|
|
it "stringifies using the name" do
|
|
@product = FactoryBot.create(:product)
|
|
@product.to_s.should eq @product.name
|
|
end
|
|
end
|