test/client_test.rb in tracker_api-0.2.0 vs test/client_test.rb in tracker_api-0.2.1
- old
+ new
@@ -8,14 +8,16 @@
describe TrackerApi::Client do
it 'can be configured' do
client = TrackerApi::Client.new(url: 'http://test.com',
api_version: '/foo-bar/1',
- token: '12345')
+ token: '12345',
+ logger: LOGGER)
client.url.must_equal 'http://test.com'
client.api_version.must_equal '/foo-bar/1'
client.token.must_equal '12345'
+ client.logger.must_equal LOGGER
end
describe '.projects' do
let(:pt_user) { PT_USER_1 }
let(:client) { TrackerApi::Client.new token: pt_user[:token] }