Welcome to mirror list, hosted at ThFree Co, Russian Federation.

user_spec.rb « representation « bitbucket « lib « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 62431a5ad8be4575ea38544d82bf58bd5f097799 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
# frozen_string_literal: true

require 'fast_spec_helper'

RSpec.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