Skip to content

Commit

Permalink
load rspec and cucumber tasks in the Rakefile
Browse files Browse the repository at this point in the history
  • Loading branch information
dcrec1 committed Jan 2, 2011
1 parent 4c0ad75 commit e3ff4ef
Showing 1 changed file with 11 additions and 0 deletions.
11 changes: 11 additions & 0 deletions app_generators/gemhub/templates/Rakefile
@@ -1,2 +1,13 @@
require 'bundler'
Bundler::GemHelper.install_tasks

require 'spec/rake/spectask'

Spec::Rake::SpecTask.new do |t|
t.spec_files = FileList['spec/**/*_spec.rb']
t.spec_opts = %w(-fs --color)
end

Dir["tasks/*.rake"].each do |rake_file|
load rake_file
end

0 comments on commit e3ff4ef

Please sign in to comment.