Skip to content

Commit 33616a9

Browse files
committed
Modified testing to use the default spec setup, changed the rakefile to use the external gemspec
1 parent c737357 commit 33616a9

4 files changed

Lines changed: 5 additions & 6 deletions

File tree

rakefile

Lines changed: 5 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -23,17 +23,16 @@
2323
$LOAD_PATH << File.expand_path(File.join(File.dirname(__FILE__)))
2424

2525
require 'rubygems'
26-
require 'lib/softlayer/base'
27-
require 'rspec/core/rake_task'
2826
require 'bundler/gem_tasks'
27+
require 'rspec/core/rake_task'
2928

30-
RSpec::Core::RakeTask.new do |tester|
29+
RSpec::Core::RakeTask.new(:spec) do |t|
3130
$DEBUG = 1
32-
tester.pattern = 'test/*.rb'
33-
tester.rspec_opts = ["-c", "-f nested"]
31+
t.rspec_opts = ["-c"]
3432
end
3533

34+
task :gem => :build
35+
3636
task :default => [:spec] do
3737
end
3838

39-
task :gem => :build

0 commit comments

Comments
 (0)