dblessing / rundeck-ruby

Rundeck Ruby Client - A Ruby wrapper around the Rundeck API
http://blessing.io/rundeck-ruby/
BSD 2-Clause "Simplified" License
17 stars 11 forks source link

Add test(s) to ensure both class and instantiation methods work #17

Closed dblessing closed 9 years ago

dblessing commented 9 years ago

Ensure that both Rundeck.<method> and client = Rundeck.client(...)/client.<method> work by doing a simple test. This test will probably be in either Rundeck or Rundeck Request spec.

The thing to test for is really whether the configuration objects come out the same.

dblessing commented 9 years ago

We already do instantiate to test the request object. I think the problem was that the test was invalid before. Now it's right and the code is right. :+1: