Permalink
Browse files

try to get to bottom of webmock error message

  • Loading branch information...
1 parent 5fae679 commit ae2aae4ca2be36fd123adf56ced0aadb66f5e97f @bronson bronson committed Mar 31, 2012
Showing with 5 additions and 6 deletions.
  1. +2 −0 Makefile
  2. +0 −1 Rakefile
  3. +2 −3 spec/github_spec.rb
  4. +1 −2 spec/gitrepo_spec.rb
View
@@ -0,0 +1,2 @@
+test:
+ bundle exec rake test
View
@@ -1,4 +1,3 @@
-require "rubygems"
require "rspec/core/rake_task"
RSpec::Core::RakeTask.new :spec
View
@@ -1,7 +1,6 @@
-require File.dirname(File.absolute_path(__FILE__)) + '/../lib/github'
-
+puts "WEBMOCK/RSPEC INCLUDED"
require 'webmock/rspec'
-include WebMock::API
+require 'github'
describe "GitHub" do
View
@@ -3,8 +3,7 @@
#
# to run specs with 'date' in the name and preserve the results: PRESERVE=1 bundle exec rspec spec/* -e date
-require File.dirname(File.absolute_path(__FILE__)) + '/../lib/gitrepo'
-
+require 'gitrepo'
require 'tmpdir'

0 comments on commit ae2aae4

Please sign in to comment.