Sha256: 0c6da6678f2f852c1d53fafbc6455234302eaa06edf76278f80aaa3c66460ac7
Contents?: true
Size: 330 Bytes
Versions: 10
Compression:
Stored size: 330 Bytes
Contents
require 'spec_helper' require 'acceptance/acceptance_helper' describe "an instance generated by a factory" do before do define_model("User") FactoryGirl.define do factory :user end end it "registers the user factory" do FactoryGirl.factory_by_name(:user).should be_a(FactoryGirl::Factory) end end
Version data entries
10 entries across 10 versions & 1 rubygems