Revert "use relative_require so specs work with root Rakefile. TODO: remove"
This reverts commit 58467eba69
, which was
causing specs to break on Ruby 1.8.
This commit is contained in:
parent
7ffe521aa0
commit
5640e3625a
|
@ -1,4 +1,4 @@
|
||||||
require_relative '../spec_helper.rb'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe ArticlesController do
|
describe ArticlesController do
|
||||||
fixtures :articles,:impressions,:posts,:widgets
|
fixtures :articles,:impressions,:posts,:widgets
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require_relative "../spec_helper.rb"
|
require 'spec_helper'
|
||||||
|
|
||||||
# we use the posts controller as it uses the impressionsist module. any such controller would do.
|
# we use the posts controller as it uses the impressionsist module. any such controller would do.
|
||||||
describe DummyController do
|
describe DummyController do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require_relative '../spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Impressionist do
|
describe Impressionist do
|
||||||
it "should be extended from ActiveRecord::Base" do
|
it "should be extended from ActiveRecord::Base" do
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require_relative '../spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Impression do
|
describe Impression do
|
||||||
fixtures :widgets
|
fixtures :widgets
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require_relative '../spec_helper'
|
require 'spec_helper'
|
||||||
|
|
||||||
describe Impression do
|
describe Impression do
|
||||||
fixtures :articles,:impressions,:posts
|
fixtures :articles,:impressions,:posts
|
||||||
|
|
|
@ -1,4 +1,4 @@
|
||||||
require_relative '../spec_helper'
|
require 'spec_helper'
|
||||||
require 'systemu'
|
require 'systemu'
|
||||||
|
|
||||||
# FIXME this test might break the others if run before them
|
# FIXME this test might break the others if run before them
|
||||||
|
|
|
@ -1,4 +1,3 @@
|
||||||
# This file is copied to spec/ when you run 'rails generate rspec:install'
|
|
||||||
ENV["RAILS_ENV"] ||= 'test'
|
ENV["RAILS_ENV"] ||= 'test'
|
||||||
require 'simplecov'
|
require 'simplecov'
|
||||||
SimpleCov.start 'rails'
|
SimpleCov.start 'rails'
|
||||||
|
|
Loading…
Reference in New Issue