use relative_require so specs work with root Rakefile. TODO: remove
test_app, mv spec dir under gem root and use dummy app instead
This commit is contained in:
parent
bfa4da97eb
commit
58467eba69
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper.rb'
|
||||
require_relative '../spec_helper.rb'
|
||||
|
||||
describe ArticlesController do
|
||||
fixtures :articles,:impressions,:posts,:widgets
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require "spec_helper.rb"
|
||||
require_relative "../spec_helper.rb"
|
||||
|
||||
# we use the posts controller as it uses the impressionsist module. any such controller would do.
|
||||
describe DummyController do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require_relative '../spec_helper'
|
||||
|
||||
describe Impressionist do
|
||||
it "should be extended from ActiveRecord::Base" do
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require_relative '../spec_helper'
|
||||
|
||||
describe Impression do
|
||||
fixtures :widgets
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require_relative '../spec_helper'
|
||||
|
||||
describe Impression do
|
||||
fixtures :articles,:impressions,:posts
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
require 'spec_helper'
|
||||
require_relative '../spec_helper'
|
||||
require 'systemu'
|
||||
|
||||
# FIXME this test might break the others if run before them
|
||||
|
|
Loading…
Reference in New Issue