Skip to content
This repository has been archived by the owner on Nov 20, 2017. It is now read-only.

Commit

Permalink
Merge pull request #2 from karlentwistle/rspec_3
Browse files Browse the repository at this point in the history
Rspec 3
  • Loading branch information
Karl Entwistle committed Jun 16, 2014
2 parents 8ab0db5 + d6bd270 commit b9613a6
Show file tree
Hide file tree
Showing 19 changed files with 48,501 additions and 48,947 deletions.
2 changes: 1 addition & 1 deletion lumiere.gemspec
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@ Gem::Specification.new do |spec|

spec.add_development_dependency "bundler", "~> 1.6"
spec.add_development_dependency "rake", "~> 10.3.1"
spec.add_development_dependency 'rspec'
spec.add_development_dependency 'rspec', "~> 3.0.0"
spec.add_development_dependency 'webmock'
spec.add_development_dependency 'vcr'
spec.add_development_dependency 'activesupport'
Expand Down
2 changes: 1 addition & 1 deletion spec/fetcher_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ module Lumiere
subject(:fetcher) { Fetcher.remote_attributes(api_url, unpack_into) }

it "returns the result of from_json on unpack_into" do
Fetcher.stub(:scrape).with(api_url) { 'body' }
allow(Fetcher).to receive(:scrape).with(api_url) { 'body' }
expect(fetcher).to eql(true)
end
end
Expand Down

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Loading

0 comments on commit b9613a6

Please sign in to comment.