spec/rack/oauth2/client/grant/refresh_token_spec.rb in rack-oauth2-0.11.0 vs spec/rack/oauth2/client/grant/refresh_token_spec.rb in rack-oauth2-0.12.0

- old
+ new

@@ -6,10 +6,10 @@ context 'when refresh_token is given' do let :attributes do {:refresh_token => 'refresh_token'} end subject { grant.new attributes } - its(:to_hash) do + its(:as_json) do should == {:grant_type => :refresh_token, :refresh_token => 'refresh_token'} end end context 'otherwise' do \ No newline at end of file