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: f79ff4edb7bd88d7d2268945b867d2397041c182 (plain)
1
2
3
4
5
6
7
8
9
10
11
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