FactoryGirl.define do
  factory :bookmark do
    url { Faker::Internet.url }
  end
end

FactoryGirl.define do
  factory :bookmark do
    url { Faker::Internet.url }

    trait :invalid do
      url nil
    end
  end
end

Add an invalid trait to bookmark factory
Add an invalid trait to bookmark factory
