Branch: refs/heads/master
Home: https://github.com/openSUSE/open-build-service
Commit: 561d49a72a3e08fa6309d6f8bceabbacee01191b
https://github.com/openSUSE/open-build-service/commit/561d49a72a3e08fa6309d6...
Author: Björn Geuken
Date: 2017-12-22 (Fri, 22 Dec 2017)
Changed paths:
M src/api/spec/models/bs_request_spec.rb
Log Message:
-----------
[frontend] Add rspec tests for BsRequest#truncated_diffs?
Commit: 86b20e8308dba5164ed63dddd3869558c8ad2cfc
https://github.com/openSUSE/open-build-service/commit/86b20e8308dba5164ed63d...
Author: Björn Geuken
Date: 2017-12-22 (Fri, 22 Dec 2017)
Changed paths:
M src/api/app/models/bs_request.rb
M src/api/spec/models/bs_request_spec.rb
Log Message:
-----------
[frontend] Fix NoMethodError in truncated_diffs? method
When calling truncated_diffs? for request diffs that are broken, eg.
because they are outdated and have "bad link conflicts", the 'files'
attribute is missing.
Since the truncated_diffs? method did not expect that, it was causing an
exception.
Commit: cc9fd299740b12e71b94592d7b6af27d7758895e
https://github.com/openSUSE/open-build-service/commit/cc9fd299740b12e71b9459...
Author: Björn Geuken
Date: 2017-12-22 (Fri, 22 Dec 2017)
Changed paths:
M src/api/app/models/bs_request.rb
M src/api/spec/models/bs_request_spec.rb
Log Message:
-----------
Merge pull request #4268 from bgeuken/fix_truncation
Fix bug in BsRequest#truncated_diffs? and add tests for that method
Compare: https://github.com/openSUSE/open-build-service/compare/411157f142a2...cc9fd2...