diff options
author | Stan Hu <stanhu@gmail.com> | 2018-07-27 01:45:38 +0300 |
---|---|---|
committer | Stan Hu <stanhu@gmail.com> | 2018-07-27 01:45:38 +0300 |
commit | 7ee9c3c436c892d67fc36ec226528e9b70ce0e64 (patch) | |
tree | 5e37a2097671495c02dca6d99df2a1775639b510 /spec/lib/bitbucket_server/representation | |
parent | e52f6bf5f9c30f7bdd7d05c1d692746bf9428a3d (diff) |
Use project key instead of project name for imports
Diffstat (limited to 'spec/lib/bitbucket_server/representation')
-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 |