1
0
Fork 0
mirror of https://github.com/thoughtbot/factory_bot.git synced 2022-11-09 11:43:51 -05:00
thoughtbot--factory_bot/spec/factory_bot/attribute_spec.rb

8 lines
195 B
Ruby
Raw Normal View History

describe FactoryBot::Attribute do
let(:name) { "user" }
subject { FactoryBot::Attribute.new(name, false) }
its(:name) { should eq name.to_sym }
it { should_not be_association }
end