Permalink
Browse files

Fixed spec runner.

  • Loading branch information...
1 parent 6cba99c commit 06786f99bd888c82fed2813132149423f348bbc5 @kenpratt committed Jun 5, 2013
Showing with 5 additions and 5 deletions.
  1. +3 −3 Rakefile
  2. +2 −2 spec/spec_helper.rb
View
@@ -28,8 +28,8 @@ end
desc 'Test the wikipedia plugin.'
task :spec do
- spec_path = File.expand_path(File.dirname(__FILE__) + '/spec/**/*.rb')
- system("spec -cfs #{spec_path}")
+ spec_path = File.expand_path(File.dirname(__FILE__) + '/spec/**/*.rb')
+ system("rspec -cfs #{spec_path}")
end
begin
@@ -49,7 +49,7 @@ task :spec => :check_dependencies
task :default => :spec
-require 'rake/rdoctask'
+require 'rdoc/task'
Rake::RDocTask.new do |rdoc|
version = File.exist?('VERSION') ? File.read('VERSION') : ""
View
@@ -1,4 +1,4 @@
require 'rubygems'
-require 'spec'
+require 'rspec'
-require File.dirname(__FILE__) + '/../lib/wikipedia'
+require File.dirname(__FILE__) + '/../lib/wikipedia'

0 comments on commit 06786f9

Please sign in to comment.