summaryrefslogtreecommitdiff
path: root/spec/lib/bitbucket/representation/issue_spec.rb
diff options
context:
space:
mode:
Diffstat (limited to 'spec/lib/bitbucket/representation/issue_spec.rb')
-rw-r--r--spec/lib/bitbucket/representation/issue_spec.rb2
1 files changed, 1 insertions, 1 deletions
diff --git a/spec/lib/bitbucket/representation/issue_spec.rb b/spec/lib/bitbucket/representation/issue_spec.rb
index c7d1ebdd597..655b9b78b47 100644
--- a/spec/lib/bitbucket/representation/issue_spec.rb
+++ b/spec/lib/bitbucket/representation/issue_spec.rb
@@ -17,7 +17,7 @@ describe Bitbucket::Representation::Issue do
end
describe '#author' do
- it { expect(described_class.new({ 'reporter' => { 'username' => 'Ben' } }).author).to eq('Ben') }
+ it { expect(described_class.new({ 'reporter' => { 'nickname' => 'Ben' } }).author).to eq('Ben') }
it { expect(described_class.new({}).author).to be_nil }
end