spec/github/pagination/iterator/sha_spec.rb in github_api-0.10.2 vs spec/github/pagination/iterator/sha_spec.rb in github_api-0.11.0
- old
+ new
@@ -13,11 +13,11 @@
let(:top_sha) { '801d80dfd59bf1d2cb30a243799953ab683a3abd' }
let(:sha) { '801d80dfd59bf1d2cb30a243799953ab683a3abd' }
let(:last_sha) { "d1e503c02fa770859895dd0d12aedefa28b95723"}
let(:current_api) { Github::Repos.new }
- let(:user) { 'wycats' }
- let(:response) { stub(:response).as_null_object }
+ let(:user) { 'wycats' }
+ let(:response) { double(:response).as_null_object }
subject(:instance) { described_class.new(links, current_api) }
before {
instance.stub(:has_next?).and_return true