Created
July 20, 2010 08:56
-
-
Save RSpace/482712 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# 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 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment