Sha256: 5e5637e4a7dec75446ff0932deb5e18da7658dd7ef5d71a8a938a7c40161a517

Contents?: true

Size: 322 Bytes

Versions: 5

Compression:

Stored size: 322 Bytes

Contents

task :default => :test
task :test => :spec

begin
  require "rspec/core/rake_task"

  desc "Run all specs"
  RSpec::Core::RakeTask.new(:spec) do |t|
    t.rspec_opts = ['-cfs']
  end
rescue LoadError
end

namespace :test do
  desc "Open a test irb session"
  task :irb do
    exec "irb -r ./spec/spec_helper.rb"
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
restpack_gem-0.0.13 lib/restpack_gem/tasks/rspec.rake
restpack_gem-0.0.12 lib/restpack_gem/tasks/rspec.rake
restpack_gem-0.0.11 lib/restpack_gem/tasks/rspec.rake
restpack_gem-0.0.10 lib/restpack_gem/tasks/rspec.rake
restpack_gem-0.0.9 lib/restpack_gem/tasks/rspec.rake