Skip to content

Commit

Permalink
fix rspec
Browse files Browse the repository at this point in the history
  • Loading branch information
Morgan Christiansson committed Feb 21, 2012
1 parent 306a3be commit cda2970
Show file tree
Hide file tree
Showing 5 changed files with 27 additions and 26 deletions.
10 changes: 4 additions & 6 deletions Gemfile
@@ -1,14 +1,12 @@
source "http://rubygems.org" source "http://rubygems.org"
# Add dependencies required to use your gem here.
# Example:
# gem "activesupport", ">= 2.3.5"


gem "httparty" gem "httparty"


# Add dependencies to develop your gem here. gem "activesupport"
# Include everything needed to run rake, tests, features, etc. gem "i18n"

group :development do group :development do
gem "rspec", "~> 2.3.0" gem "rspec"
gem "bundler" gem "bundler"
gem "jeweler", "~> 1.6.2" gem "jeweler", "~> 1.6.2"
gem "rcov", ">= 0" gem "rcov", ">= 0"
Expand Down
24 changes: 15 additions & 9 deletions Gemfile.lock
@@ -1,32 +1,38 @@
GEM GEM
remote: http://rubygems.org/ remote: http://rubygems.org/
specs: specs:
activesupport (3.1.1)
multi_json (~> 1.0)
crack (0.1.8) crack (0.1.8)
diff-lcs (1.1.2) diff-lcs (1.1.3)
git (1.2.5) git (1.2.5)
httparty (0.7.8) httparty (0.7.8)
crack (= 0.1.8) crack (= 0.1.8)
i18n (0.6.0)
jeweler (1.6.2) jeweler (1.6.2)
bundler (~> 1.0) bundler (~> 1.0)
git (>= 1.2.5) git (>= 1.2.5)
rake rake
multi_json (1.0.4)
rake (0.9.2) rake (0.9.2)
rcov (0.9.9) rcov (0.9.9)
rspec (2.3.0) rspec (2.8.0)
rspec-core (~> 2.3.0) rspec-core (~> 2.8.0)
rspec-expectations (~> 2.3.0) rspec-expectations (~> 2.8.0)
rspec-mocks (~> 2.3.0) rspec-mocks (~> 2.8.0)
rspec-core (2.3.1) rspec-core (2.8.0)
rspec-expectations (2.3.0) rspec-expectations (2.8.0)
diff-lcs (~> 1.1.2) diff-lcs (~> 1.1.2)
rspec-mocks (2.3.0) rspec-mocks (2.8.0)


PLATFORMS PLATFORMS
ruby ruby


DEPENDENCIES DEPENDENCIES
activesupport
bundler bundler
httparty httparty
i18n
jeweler (~> 1.6.2) jeweler (~> 1.6.2)
rcov rcov
rspec (~> 2.3.0) rspec
3 changes: 2 additions & 1 deletion lib/ruby-postcodeanywhere.rb
@@ -1,4 +1,5 @@
require 'httparty' require 'httparty'
require 'active_support/core_ext/module/attribute_accessors'


module PostcodeAnywhere module PostcodeAnywhere


Expand Down Expand Up @@ -137,4 +138,4 @@ class AddressListItem


end end


end end
4 changes: 2 additions & 2 deletions spec/ruby-postcodeanywhere_spec.rb
@@ -1,6 +1,6 @@
require File.expand_path(File.dirname(__FILE__) + '/spec_helper') require 'spec_helper'


describe "RubyPostcodeanywhere" do describe PostcodeAnywhere do
it "fails" do it "fails" do
fail "hey buddy, you should probably rename this file and start specing for real" fail "hey buddy, you should probably rename this file and start specing for real"
end end
Expand Down
12 changes: 4 additions & 8 deletions spec/spec_helper.rb
@@ -1,12 +1,8 @@
$LOAD_PATH.unshift(File.join(File.dirname(__FILE__), '..', 'lib')) require 'rubygems'
$LOAD_PATH.unshift(File.dirname(__FILE__)) require 'bundler/setup'
require 'rspec'
require 'ruby-postcodeanywhere'


# Requires supporting files with custom matchers and macros, etc, require 'ruby-postcodeanywhere'
# in ./support/ and its subdirectories.
Dir["#{File.dirname(__FILE__)}/support/**/*.rb"].each {|f| require f}


RSpec.configure do |config| RSpec.configure do |config|

end end

0 comments on commit cda2970

Please sign in to comment.