Sha256: d87e16fac791a417578b37f63868521d708880f3e4efdb343f538943b9fff714

Contents?: true

Size: 660 Bytes

Versions: 18

Compression:

Stored size: 660 Bytes

Contents

# This file is copied to ~/spec when you run 'ruby script/generate rspec'
# from the project root directory.
ENV["RAILS_ENV"] ||= "test"
require File.expand_path(File.join(File.dirname(__FILE__), "../../../../config/environment"))
require 'spec/rails'

# APP SETUP

# Models
class User < ActiveRecord::Base
end

class FastCar < ActiveRecord::Base
end

class Event < ActiveRecord::Base
  class Create < Event
  end
  
  class Update < Event
  end
end

# Factories
require 'factory_girl'

Factory.define :user do |u|
end

Factory.define :super_admin, :class => User do |u|
end

Factory.define :fast_car do |c|
end

# Machinist
require 'machinist/active_record'

Version data entries

18 entries across 18 versions & 2 rubygems

Version Path
pickle-0.2.5 spec/spec_helper.rb
pickle-0.2.4 spec/spec_helper.rb
pickle-0.2.3 spec/spec_helper.rb
pickle-0.2.2 spec/spec_helper.rb
kbaum-pickle-0.2.1.4 spec/spec_helper.rb
kbaum-pickle-0.2.1.3 spec/spec_helper.rb
kbaum-pickle-0.2.1.2 spec/spec_helper.rb
kbaum-pickle-0.2.1.1 spec/spec_helper.rb
pickle-0.2.1 spec/spec_helper.rb
pickle-0.2.0 spec/spec_helper.rb
pickle-0.1.23 spec/spec_helper.rb
pickle-0.1.22 spec/spec_helper.rb
pickle-0.1.21 spec/spec_helper.rb
pickle-0.1.20 spec/spec_helper.rb
pickle-0.1.19 spec/spec_helper.rb
pickle-0.1.18 spec/spec_helper.rb
pickle-0.1.17 spec/spec_helper.rb
pickle-0.1.16 spec/spec_helper.rb