set up rspec
This commit is contained in:
parent
2ef0aa05e1
commit
c00ca806a5
3
Rakefile
3
Rakefile
@ -1,2 +1,5 @@
|
|||||||
#!/usr/bin/env rake
|
#!/usr/bin/env rake
|
||||||
require "bundler/gem_tasks"
|
require "bundler/gem_tasks"
|
||||||
|
require 'rspec/core/rake_task'
|
||||||
|
|
||||||
|
RSpec::Core::RakeTask.new('spec')
|
||||||
|
5
spec/spec_helper.rb
Normal file
5
spec/spec_helper.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
require 'bundler/setup'
|
||||||
|
require 'yawpa'
|
||||||
|
|
||||||
|
RSpec.configure do |config|
|
||||||
|
end
|
5
spec/yawpa_spec.rb
Normal file
5
spec/yawpa_spec.rb
Normal file
@ -0,0 +1,5 @@
|
|||||||
|
require 'spec_helper'
|
||||||
|
|
||||||
|
describe Yawpa do
|
||||||
|
pending "write it"
|
||||||
|
end
|
@ -14,4 +14,6 @@ Gem::Specification.new do |gem|
|
|||||||
gem.name = "yawpa"
|
gem.name = "yawpa"
|
||||||
gem.require_paths = ["lib"]
|
gem.require_paths = ["lib"]
|
||||||
gem.version = Yawpa::VERSION
|
gem.version = Yawpa::VERSION
|
||||||
|
|
||||||
|
gem.add_development_dependency 'rspec'
|
||||||
end
|
end
|
||||||
|
Loading…
x
Reference in New Issue
Block a user