Project

General

Profile

Actions

Defect #40603

closed

Mocha 2.2.0 causes test failure: "unexpected invocation"

Added by Go MAEDA 27 days ago. Updated 21 days ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Gems support
Target version:
Start date:
Due date:
% Done:

0%

Estimated time:
Resolution:
Fixed
Affected version:

Description

After updating Mocha from version 2.1.0 to 2.2.0, a test began to fail with the following output:

$ bin/rails test test/unit/issue_test.rb:704

Run options: --seed 38306

# Running:

F

Failure:
IssueTest#test_assigning_attributes_should_assign_project_and_tracker_first [app/models/issue.rb:478]:
unexpected invocation: subject=(Test)

bin/rails test test/unit/issue_test.rb:704
Actions

Also available in: Atom PDF