public
Last active

  • Download Gist
Gemfile
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41
source :gemcutter
 
gem 'rails', '2.3.8'
 
# Bundle edge Rails instead:
# gem 'rails', :git => 'git://github.com/rails/rails.git'
 
gem 'rails', '2.3.8'
gem 'postgres'
gem 'aws-s3', '0.6.2'
gem 'heywatch', '0.0.1'
gem 'state_machine', '0.8.0'
gem 'formtastic', '0.9.10'
gem 'clearance', '0.8.8'
gem 'inherited_resources', '0.9.4'
gem 'money', '2.1.4'
gem 'httpclient', '2.1.5.2'
gem 'bluecloth', '2.0.5'
gem 'RedCloth', '4.2.2'
gem 'searchlogic', '2.4.19'
gem 'exceptional', '2.0.5'
gem 'rpx_now', '0.6.12'
gem 'panda', '0.4.9'
 
group :development, :test do
gem "ruby-debug"
gem "rspec-rails", :require => "spec"
end
 
group :development do
gem 'bullet'
end
 
group :test do
gem "shoulda"
gem "factory_girl"
gem "rr"
gem "faker"
gem "timecop"
gem "ZenTest"
end
spec_helper.rb
Ruby
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57
# 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.dirname(__FILE__) + "/../config/environment")
require 'spec'
require 'spec/rails'
require 'spec/rr'
require 'shoulda'
require 'factory_girl'
Dir[File.dirname(__FILE__) + "/matchers/*.rb"].each { |matcher| require matcher }
require 'paperclip/matchers'
 
Spec::Runner.configure do |config|
# If you're not using ActiveRecord you should remove these
# lines, delete config/database.yml and disable :active_record
# in your config/boot.rb
config.use_transactional_fixtures = true
config.use_instantiated_fixtures = false
config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
 
# == Fixtures
#
# You can declare fixtures for each example_group like this:
# describe "...." do
# fixtures :table_a, :table_b
#
# Alternatively, if you prefer to declare them only once, you can
# do so right here. Just uncomment the next line and replace the fixture
# names with your fixtures.
#
# config.global_fixtures = :table_a, :table_b
#
# If you declare global fixtures, be aware that they will be declared
# for all of your examples, even those that don't use them.
#
# You can also declare which fixtures to use (for example fixtures for test/fixtures):
#
# config.fixture_path = RAILS_ROOT + '/spec/fixtures/'
#
# == Mock Framework
#
# RSpec uses it's own mocking framework by default. If you prefer to
# use mocha, flexmock or RR, uncomment the appropriate line:
#
# config.mock_with :mocha
# config.mock_with :flexmock
config.mock_with :rr
#
# == Notes
#
# For more information take a look at Spec::Runner::Configuration and Spec::Runner
# Paperclip
config.include(Paperclip::Shoulda::Matchers)
end

Please sign in to comment on this gist.

Something went wrong with that request. Please try again.