remove the fixtures everytime, until we actually figure out how to do this right. also clean up some spec helper includes to prevent everything getting included many times

This commit is contained in:
maxwell 2011-01-18 22:39:14 -08:00
parent 85b824babc
commit 02ab24335a
3 changed files with 4 additions and 2 deletions

View file

@ -2,7 +2,7 @@
# licensed under the Affero General Public License version 3 or later. See # licensed under the Affero General Public License version 3 or later. See
# the COPYRIGHT file. # the COPYRIGHT file.
require File.join(File.dirname(__FILE__), "..", "spec_helper") require 'spec_helper'
describe InvitationsController do describe InvitationsController do
include Devise::TestHelpers include Devise::TestHelpers

View file

@ -1,4 +1,4 @@
require File.join(Rails.root, 'spec/spec_helper') require 'spec/spec_helper'
describe Jobs::SocketWebfinger do describe Jobs::SocketWebfinger do
before do before do

View file

@ -14,6 +14,8 @@ require 'factory_girl'
include Devise::TestHelpers include Devise::TestHelpers
include WebMock::API include WebMock::API
include HelperMethods include HelperMethods
`rm #{File.join(Rails.root, 'tmp', 'fixture_builder.yml')}`
# #
# Requires supporting files with custom matchers and macros, etc, # Requires supporting files with custom matchers and macros, etc,
# in ./support/ and its subdirectories. # in ./support/ and its subdirectories.