Skip to content

Commit

Permalink
Merge pull request #1 from russ/master
Browse files Browse the repository at this point in the history
Ready to merge this?
  • Loading branch information
jwoertink committed Feb 12, 2013
2 parents 35b95e6 + d26945d commit aae295e
Show file tree
Hide file tree
Showing 2 changed files with 24 additions and 2 deletions.
17 changes: 15 additions & 2 deletions Rakefile
@@ -1,2 +1,15 @@
#!/usr/bin/env rake
require "bundler/gem_tasks"
require 'bundler/gem_tasks'
require 'rake'
require 'rspec/core/rake_task'

namespace :spec do
RSpec::Core::RakeTask.new(:normal) do |t|
t.pattern ='spec/**/*_spec.rb'
t.rcov = false
end
end

desc 'RSpec tests'
task 'spec' => 'spec:normal'

task 'default' => 'spec'
9 changes: 9 additions & 0 deletions spec/spec_helper.rb
@@ -0,0 +1,9 @@
$LOAD_PATH.unshift(File.dirname(__FILE__))
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib'))

require 'tourets'
require 'rspec'

RSpec.configure do |c|
c.mock_with(:rspec)
end

0 comments on commit aae295e

Please sign in to comment.