diff options
Diffstat (limited to 'spec')
-rw-r--r-- | spec/lib/bitbucket_server/representation/repo_spec.rb | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/spec/lib/bitbucket_server/representation/repo_spec.rb b/spec/lib/bitbucket_server/representation/repo_spec.rb index 9021da4c503..3ac1030fbb0 100644 --- a/spec/lib/bitbucket_server/representation/repo_spec.rb +++ b/spec/lib/bitbucket_server/representation/repo_spec.rb @@ -50,6 +50,10 @@ describe BitbucketServer::Representation::Repo do subject { described_class.new(JSON.parse(sample_data)) } + describe '#project_key' do + it { expect(subject.project_key).to eq('TEST') } + end + describe '#project_name' do it { expect(subject.project_name).to eq('test') } end |