Skip to content
This repository has been archived by the owner on Mar 24, 2022. It is now read-only.

Commit

Permalink
Fixed spec to expect correct arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
Pinwheeler committed Mar 30, 2015
1 parent ca81a7e commit c77a942
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion spec/lib/cf_deploy_spec.rb
Original file line number Diff line number Diff line change
Expand Up @@ -55,7 +55,7 @@
cf_deploy_under_test = CF_deploy.new(stdin_double, STDOUT, 'pivotallabs', 'project-monitor', 'staging', authenticator_double)
expect { cf_deploy_under_test.authenticate }.to output("CF Email?: \nCF Password?: \n").to_stdout

expect(authenticator_double).to have_received(:authenticate_with).with(randString1, randString2)
expect(authenticator_double).to have_received(:authenticate_with).with(randString1, randString2, 'pivotallabs', 'project-monitor')
end
end

Expand Down

0 comments on commit c77a942

Please sign in to comment.