diff options
| author | Teddy Wing | 2015-05-25 18:50:30 -0400 |
|---|---|---|
| committer | Teddy Wing | 2015-05-25 18:50:30 -0400 |
| commit | aa4dd4f54b0e4c09f0ed2acfa54ab269ee3c5605 (patch) | |
| tree | d200fd89a6304a20509280faf9fd08636da479a7 | |
| parent | da7e068f29e55423872209d4506f49626c96b2f6 (diff) | |
| download | Beginning-Ruby-Exercises-aa4dd4f54b0e4c09f0ed2acfa54ab269ee3c5605.tar.bz2 | |
Remove Rakefile
Would likely overcomplicate things for a beginner. Let's just leave out
the spec directory and the Rakefile. We can now call
ruby exercises_spec.rb
to run our tests. This will be useful because I'd like to write a script
that will allow you to run just the tests for an individual exercise.
| -rw-r--r-- | Rakefile | 9 | ||||
| -rw-r--r-- | exercises_spec.rb | 2 |
2 files changed, 1 insertions, 10 deletions
diff --git a/Rakefile b/Rakefile deleted file mode 100644 index f1ab6b7..0000000 --- a/Rakefile +++ /dev/null @@ -1,9 +0,0 @@ -require 'rake' -require 'rake/testtask' - -Rake::TestTask.new do |t| - t.libs << '.' - t.pattern = 'spec/**/*_spec.rb' -end - -task :default => :test diff --git a/exercises_spec.rb b/exercises_spec.rb index ad62429..2f838f0 100644 --- a/exercises_spec.rb +++ b/exercises_spec.rb @@ -1,7 +1,7 @@ require 'minitest/spec' require 'minitest/autorun' -require 'exercises' +require_relative 'exercises' describe 'exercises' do |
