Permalink
Browse files

Install and setup rspec

  • Loading branch information...
1 parent efbfc7a commit 2e2bcc97b9135a1df72cbd3f2dee8e164b05c431 @vanstee committed Jun 9, 2012
Showing with 10 additions and 4 deletions.
  1. +1 −3 Gemfile
  2. +5 −1 Rakefile
  3. +4 −0 hovercraft.gemspec
View
@@ -1,4 +1,2 @@
-source 'https://rubygems.org'
-
-# Specify your gem's dependencies in hovercraft.gemspec
+source :rubygems
gemspec
View
@@ -1,2 +1,6 @@
#!/usr/bin/env rake
-require "bundler/gem_tasks"
+require 'bundler/gem_tasks'
+require 'rspec/core/rake_task'
+
+RSpec::Core::RakeTask.new(:spec)
+task default: :spec
View
@@ -14,4 +14,8 @@ Gem::Specification.new do |gem|
gem.name = 'hovercraft'
gem.require_paths = ['lib']
gem.version = Hovercraft::VERSION
+
+ gem.add_development_dependency 'rspec'
+ gem.add_development_dependency 'pry'
+ gem.add_development_dependency 'rake'
end

0 comments on commit 2e2bcc9

Please sign in to comment.