Browse Source

confs, refactor

pull/1/head
Nicolae Claudius 13 years ago
parent
commit
9de0bb0aa4
  1. 4
      .rspec
  2. 1
      .rvmrc
  3. 3
      spec/factories.rb
  4. 5
      spec/spec_helper.rb

4
.rspec

@ -1 +1,3 @@
--colour
--format nested
--color
--drb

1
.rvmrc

@ -0,0 +1 @@
rvm use 1.9.2@global --create

3
spec/factories.rb

@ -1,15 +1,12 @@
FactoryGirl.define do
factory :user do
end
factory :domain do
end
factory :record do
end
end

5
spec/spec_helper.rb

@ -1,9 +1,6 @@
require 'rubygems'
require 'spork'
# Loading more in this block will cause your tests to run faster. However,
# if you change any configuration or code from libraries loaded here, you'll
# need to restart spork for it take effect.
Spork.prefork do
ENV["RAILS_ENV"] ||= 'test'
require File.expand_path("../../config/environment", __FILE__)
@ -16,7 +13,5 @@ Spork.prefork do
end
Spork.each_run do
# Requires supporting ruby files with custom matchers and macros, etc,
# in spec/support/ and its subdirectories.
Dir[Rails.root.join("spec/support/**/*.rb")].each {|f| require f}
end

Loading…
Cancel
Save