Skip to content

Commit

Permalink
Adding rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
ijcd committed Feb 13, 2012
1 parent d72d578 commit 4b930d4
Show file tree
Hide file tree
Showing 3 changed files with 16 additions and 1 deletion.
7 changes: 7 additions & 0 deletions Rakefile
Original file line number Diff line number Diff line change
@@ -1 +1,8 @@
require "bundler/gem_tasks"

require 'rspec/core/rake_task'

RSpec::Core::RakeTask.new('spec')

# If you want to make this the default task
task :default => :spec
2 changes: 1 addition & 1 deletion hoodwink.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@ Gem::Specification.new do |s|
s.require_paths = ["lib"]

# specify any dependencies here; for example:
# s.add_development_dependency "rspec"
s.add_development_dependency "rspec"
# s.add_runtime_dependency "rest-client"
end
8 changes: 8 additions & 0 deletions spec/spec_helper.rb
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
require 'rubygems'
require 'bundler/setup'

require 'your_gem_name' # and any other gems you need

RSpec.configure do |config|
# some (optional) config here
end

0 comments on commit 4b930d4

Please sign in to comment.