Sha256: 8c3761bd7b8f6e1126ccd1a25af66de28fe820d459deb156daf1a2db5c7a41cb

Contents?: true

Size: 445 Bytes

Versions: 17

Compression:

Stored size: 445 Bytes

Contents

require 'spec_helper'

# Attributes
describe 'Factories' do
  let(:factories) { [:user, :customer, :subscription, :address, :product, :cart, :order_item, :order, :purchased_order, :declined_order, :cart_with_subscription, :order_with_subscription] }

  before { StripeMock.start }
  after { StripeMock.stop }

  it 'should have all valid factories' do
    factories.each { |factory| FactoryGirl.create(factory).valid?.should eq true }
  end
end

Version data entries

17 entries across 17 versions & 1 rubygems

Version Path
effective_orders-1.2.12 spec/models/factories_spec.rb
effective_orders-1.2.11 spec/models/factories_spec.rb
effective_orders-1.2.10 spec/models/factories_spec.rb
effective_orders-1.2.9 spec/models/factories_spec.rb
effective_orders-1.2.8 spec/models/factories_spec.rb
effective_orders-1.2.7 spec/models/factories_spec.rb
effective_orders-1.2.6 spec/models/factories_spec.rb
effective_orders-1.2.5 spec/models/factories_spec.rb
effective_orders-1.2.4 spec/models/factories_spec.rb
effective_orders-1.2.3 spec/models/factories_spec.rb
effective_orders-1.2.2 spec/models/factories_spec.rb
effective_orders-1.2.1 spec/models/factories_spec.rb
effective_orders-1.2.0 spec/models/factories_spec.rb
effective_orders-1.1.2 spec/models/factories_spec.rb
effective_orders-1.1.1 spec/models/factories_spec.rb
effective_orders-1.1.0 spec/models/factories_spec.rb
effective_orders-1.0.0 spec/models/factories_spec.rb