Skip to content
Permalink
Browse files

Add spec skelton

  • Loading branch information...
Genki Sugawara
Genki Sugawara committed Oct 5, 2014
1 parent 12bf749 commit 0f193b29144b5abb674145dde42ea53b3069c1de
Showing with 13 additions and 0 deletions.
  1. +2 −0 .rspec
  2. +3 −0 Rakefile
  3. +1 −0 gratan.gemspec
  4. +5 −0 spec/gratan_spec.rb
  5. +2 −0 spec/spec_helper.rb
2 .rspec
@@ -0,0 +1,2 @@
--colour
--require spec_helper
@@ -1,2 +1,5 @@
require 'bundler/gem_tasks'
require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new('spec')
task :default => :spec
@@ -22,4 +22,5 @@ Gem::Specification.new do |spec|
spec.add_dependency "term-ansicolor"
spec.add_development_dependency 'bundler'
spec.add_development_dependency 'rake', '~> 10.0'
spec.add_development_dependency 'rspec', '>= 3.0.0'
end
@@ -0,0 +1,5 @@
describe Gratan do
it do
expect(1).to eq(1)
end
end
@@ -0,0 +1,2 @@
$: << File.expand_path('..', __FILE__)
require 'gratan'

0 comments on commit 0f193b2

Please sign in to comment.
You can’t perform that action at this time.