remind101 / slashdeploy

GitHub Deployments for Slack
https://slashdeploy.io
BSD 2-Clause "Simplified" License
153 stars 20 forks source link

Write tests for "unlock all" feature. #127

Closed russellballestrini closed 6 years ago

russellballestrini commented 6 years ago

Once I had a test I was able to figure out how to solve the issue with the new unlock all feature.

modified:   app/commands/unlock_all_command.rb
modified:   app/messages/unlocked_all_message.rb
modified:   app/messages/unlocked_message.rb
modified:   app/views/messages/unlocked_all.text.erb
modified:   spec/features/commands_spec.rb
modified:   spec/slashdeploy/service_spec.rb