2019-07-25 01:21:37 -04:00
|
|
|
# frozen_string_literal: true
|
|
|
|
|
2016-12-12 13:41:55 -05:00
|
|
|
require 'spec_helper'
|
|
|
|
|
2020-06-24 05:08:32 -04:00
|
|
|
RSpec.describe Bitbucket::Representation::User do
|
2016-12-12 13:41:55 -05:00
|
|
|
describe '#username' do
|
|
|
|
it 'returns correct value' do
|
|
|
|
user = described_class.new('username' => 'Ben')
|
|
|
|
|
|
|
|
expect(user.username).to eq('Ben')
|
|
|
|
end
|
|
|
|
end
|
|
|
|
end
|