spec/support/factory.rb in restpack_serializer-0.4.5 vs spec/support/factory.rb in restpack_serializer-0.4.6
- old
+ new
@@ -1,5 +1,5 @@
- require 'factory_girl'
+require 'factory_girl'
FactoryGirl.define do
factory :artist, :class => MyApp::Artist do
sequence(:name) {|n| "Artist ##{n}" }
sequence(:website) {|n| "http://website#{n}.com/" }