Przeglądaj źródła

Rackefile updated for rspec 2

tags/0.4.0
Pandark 15 lat temu
rodzic
commit
656bea3d8d
1 zmienionych plików z 3 dodań i 3 usunięć
  1. +3
    -3
      Rakefile

+ 3
- 3
Rakefile Wyświetl plik

@@ -1,11 +1,11 @@
require 'rake'
require 'spec/rake/spectask'
require 'rspec/core/rake_task'

task :default => :spec

Spec::Rake::SpecTask.new(:spec) do |t|
RSpec::Core::RakeTask.new(:spec) do |t|
#t.spec_opts = ['--options', "\"#{File.dirname(__FILE__)}/spec/spec.opts\""]
t.spec_files = FileList['test/*_spec.rb']
t.pattern = 'test/*_spec.rb'
end

desc "Run all specs"


Ładowanie…
Anuluj
Zapisz