spec/model/user_spec.rb in yammer-client-0.1.3 vs spec/model/user_spec.rb in yammer-client-0.1.4
- old
+ new
@@ -33,10 +33,10 @@
)
subject.create('hacker@yammer-inc.com')
end
end
- describe '#current_user' do
+ describe '#current' do
it "should fetch authenticated user's data" do
stub_request(:get, "https://www.yammer.com/api/v1/users/current").with(
:headers => {
'Accept' => 'application/json',
'Authorization' => "Bearer #{Yammer.access_token}",
\ No newline at end of file