Permalink
Browse files

Move datamapper specs into backends directory

  • Loading branch information...
bkeepers committed Mar 26, 2010
1 parent 1a5c5d9 commit 452a0406a5551da84fe81c2d1e1d2db92ee0a060
Showing with 9 additions and 4 deletions.
  1. +4 −0 Rakefile
  2. +1 −4 spec/{ → backend}/datamapper_job_spec.rb
  3. +4 −0 spec/setup/data_mapper.rb
View
@@ -24,6 +24,10 @@ Jeweler::Tasks.new do |s|
s.add_development_dependency "rspec"
s.add_development_dependency "sqlite3-ruby"
s.add_development_dependency "mongo_mapper"
+ s.add_development_dependency "dm-core"
+ s.add_development_dependency "dm-observer"
+ s.add_development_dependency "dm-aggregates"
+ s.add_development_dependency "do_sqlite3"
end
require 'spec/rake/spectask'
@@ -1,10 +1,7 @@
require 'spec_helper'
-
+require 'backend/shared_backend_spec'
require 'delayed/backend/data_mapper'
-DataMapper.logger = ActiveRecord::Base.logger
-DataMapper.setup(:default, "sqlite3::memory:")
-
describe Delayed::Backend::DataMapper::Job do
before(:all) do
@backend = Delayed::Backend::DataMapper::Job
@@ -0,0 +1,4 @@
+require 'dm-core'
+
+DataMapper.logger = ActiveRecord::Base.logger
+DataMapper.setup(:default, "sqlite3::memory:")

0 comments on commit 452a040

Please sign in to comment.