spec/plaid_spec.rb in plaid-1.1.1 vs spec/plaid_spec.rb in plaid-1.1.2
- old
+ new
@@ -380,15 +380,20 @@
describe '#upgrade' do
auth_user = Plaid.add_user('auth','plaid_test','plaid_good','wells')
connect_user = Plaid.add_user('connect','plaid_test','plaid_good','wells')
context 'auth upgrade is successful' do
- connect_user.upgrade
+ connect_user.upgrade('auth')
it { expect(connect_user.get_auth).to be_truthy }
end
context 'connect upgrade is successful' do
- auth_user.upgrade
+ auth_user.upgrade('connect')
+ it { expect(auth_user.get_connect).to be_truthy }
+ end
+
+ context 'connect upgrade is successful' do
+ auth_user.upgrade('info')
it { expect(auth_user.get_connect).to be_truthy }
end
end
=end
\ No newline at end of file