Rakefile in openpay-1.0.10 vs Rakefile in openpay-2.0.0b
- old
+ new
@@ -2,11 +2,12 @@
require 'rspec/core/rake_task'
task :default => [:spec]
desc 'run specifications'
+
RSpec::Core::RakeTask.new do |t|
- t.pattern = 'test/spec/*'
+ t.pattern = Dir.glob('test/spec/**/*_spec.rb')
end
RSpec::Core::RakeTask.new('bankaccounts') do |t|
t.pattern = 'test/spec/bankaccounts*'