f540ffcef6
Using the sed script from https://gitlab.com/gitlab-org/gitlab-ce/issues/59758
13 lines
272 B
Ruby
13 lines
272 B
Ruby
# frozen_string_literal: true
|
|
|
|
require 'spec_helper'
|
|
|
|
describe Bitbucket::Representation::User do
|
|
describe '#username' do
|
|
it 'returns correct value' do
|
|
user = described_class.new('username' => 'Ben')
|
|
|
|
expect(user.username).to eq('Ben')
|
|
end
|
|
end
|
|
end
|