spec/github/users/followers/unfollow_spec.rb in github_api-0.9.0 vs spec/github/users/followers/unfollow_spec.rb in github_api-0.9.1
- old
+ new
@@ -16,10 +16,10 @@
}
after { reset_authentication_for(subject) }
it "should raise error if gist id not present" do
- expect { subject.unfollow nil }.to raise_error(ArgumentError)
+ expect { subject.unfollow }.to raise_error(ArgumentError)
end
it 'successfully unfollows a user' do
subject.unfollow(user)
a_delete(request_path).with(:query => { :access_token => OAUTH_TOKEN}).