spec/omniauth/strategies/idnet_spec.rb in omniauth-idnet-0.0.7 vs spec/omniauth/strategies/idnet_spec.rb in omniauth-idnet-0.0.8

- old
+ new

@@ -55,21 +55,24 @@ describe 'auth_hash' do let(:info) do { 'email' => 'you@example.com', - 'level' => 5, - 'city' => nil, - 'country' => nil, + "nickname" => nil, + 'first_name' => nil, + 'last_name' => nil, 'dob' => nil, 'gender' => nil, 'language' => nil, - 'first_name' => nil, - 'last_name' => nil, - "nickname" => nil, "state_or_province" => nil, "street_address" => nil, - "zip" => nil + "zipcode" => nil, + 'city' => nil, + 'country' => nil, + 'level' => 5, + "risk" => nil, + "avatars" => nil, + "version" => nil } end before do subject.stub!(:raw_info).and_return(info.select{|k,v| ['email', 'level'].include?(k)}.merge('pid' => '123456'))