Permalink
Browse files

Fixed generation of test app (fixes #33)

  • Loading branch information...
1 parent 051b19c commit bf17c4e8ca5f89a91db604f5199bc5b9af9114eb @romul romul committed Jan 14, 2013
Showing with 7 additions and 3 deletions.
  1. +3 −1 Gemfile
  2. +3 −2 Rakefile
  3. +1 −0 spree_address_book.gemspec
View
4 Gemfile
@@ -12,5 +12,7 @@ group :test do
end
end
+gem 'devise'
+gem 'devise-encryptable'
gem 'spree_auth_devise', :git => 'git://github.com/spree/spree_auth_devise'
-gem 'spree', '~> 1.2'
+gem 'spree', '~> 1.2.1'
View
5 Rakefile
@@ -1,11 +1,12 @@
require 'bundler'
Bundler::GemHelper.install_tasks
+Bundler.setup
require 'rspec/core/rake_task'
-require 'spree/core/testing_support/common_rake'
-
RSpec::Core::RakeTask.new
+require 'spree/core/testing_support/common_rake'
+
task :default => [:spec]
desc 'Generates a dummy app for testing'
View
1 spree_address_book.gemspec
@@ -17,6 +17,7 @@ Gem::Specification.new do |s|
s.requirements << 'none'
s.add_dependency('spree_core', '~> 1.2')
+ s.add_dependency('spree_auth_devise')
s.add_development_dependency('rspec-rails', '~> 2.7')
s.add_development_dependency('sqlite3')

0 comments on commit bf17c4e

Please sign in to comment.