set up rspec

This commit is contained in:
Josh Holtrop 2013-01-20 20:12:17 -05:00
parent 2ef0aa05e1
commit c00ca806a5
4 changed files with 15 additions and 0 deletions

View File

@ -1,2 +1,5 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'rspec/core/rake_task'
RSpec::Core::RakeTask.new('spec')

5
spec/spec_helper.rb Normal file
View File

@ -0,0 +1,5 @@
require 'bundler/setup'
require 'yawpa'
RSpec.configure do |config|
end

5
spec/yawpa_spec.rb Normal file
View File

@ -0,0 +1,5 @@
require 'spec_helper'
describe Yawpa do
pending "write it"
end

View File

@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
gem.name = "yawpa"
gem.require_paths = ["lib"]
gem.version = Yawpa::VERSION
gem.add_development_dependency 'rspec'
end