spec/factories/roles.rb in blacklight-spotlight-0.13.0 vs spec/factories/roles.rb in blacklight-spotlight-0.14.0
- old
+ new
@@ -1,7 +1,7 @@
FactoryGirl.define do
factory :role, class: Spotlight::Role do
- exhibit
+ resource { FactoryGirl.build(:exhibit) }
role 'curator'
user
end
end