Sha256: 34e1e556c9e09805381f902ac990ae3df073fd17860b21b42f09e5989eee4482

Contents?: true

Size: 230 Bytes

Versions: 17

Compression:

Stored size: 230 Bytes

Contents

require 'spec_helper'

describe "FactoryGirl Factories" do
  let(:factories) { [ :user, :email_template ] }

  it "has factories that are valid" do
    factories.each { |f| FactoryGirl.create(f).valid?.should eq true }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_email_templates-0.6.1 spec/factory_spec.rb
effective_email_templates-0.6.0 spec/factory_spec.rb
effective_email_templates-0.5.1 spec/factory_spec.rb
effective_email_templates-0.5.0 spec/factory_spec.rb
effective_email_templates-0.4.6 spec/factory_spec.rb
effective_email_templates-0.4.5 spec/factory_spec.rb
effective_email_templates-0.4.4 spec/factory_spec.rb
effective_email_templates-0.4.3 spec/factory_spec.rb
effective_email_templates-0.4.2 spec/factory_spec.rb
effective_email_templates-0.4.1 spec/factory_spec.rb
effective_email_templates-0.4.0 spec/factory_spec.rb
effective_email_templates-0.3.5 spec/factory_spec.rb
effective_email_templates-0.3.4 spec/factory_spec.rb
effective_email_templates-0.3.3 spec/factory_spec.rb
effective_email_templates-0.3.1 spec/factory_spec.rb
effective_email_templates-0.3.0 spec/factory_spec.rb
effective_email_templates-0.2.8 spec/factory_spec.rb