We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Stumbled across this today:
F Failure: DeliveryTest#test_delivery_of_new_comment_doesnt_happen_when_notification_granularity_is_only_pings_and_mentions: unexpected invocation: #<AnyInstance:ActionNotifier::Deliveries::WebDelivery>.deliver_to(#<User:0x7fa64615b668>) unsatisfied expectations: - expected never, invoked once: #<AnyInstance:ActionNotifier::Deliveries::WebDelivery>.deliver_to(any_parameters) bin/rails test app/models/deliveries/delivery.rb:103
The test file is test/models/delivery_test.rb, but it's reporting the model file instead.
The test itself uses Mocha. If I flunk earlier in the test before that's triggered, then the reporting is correct.
The text was updated successfully, but these errors were encountered:
After fixing this, the following output:
Failure: ArticleTest#test_mocha: unexpected invocation: #<AnyInstance:User(id: integer, name: string, created_at: datetime, updated_at: datetime)>.blub() unsatisfied expectations: - expected never, invoked once: #<AnyInstance:User(id: integer, name: string, created_at: datetime, updated_at: datetime)>.blub(any_parameters) bin/rails test app/models/user.rb:15
will look like this:
Failure: ArticleTest#test_mocha [/Users/senny/Projects/ruby/rails/dev/app/models/user.rb:15]: unexpected invocation: #<AnyInstance:User(id: integer, name: string, created_at: datetime, updated_at: datetime)>.blub() unsatisfied expectations: - expected never, invoked once: #<AnyInstance:User(id: integer, name: string, created_at: datetime, updated_at: datetime)>.blub(any_parameters) bin/rails test test/models/user_test.rb:23
Sorry, something went wrong.
ea70c29
❤️💚💙
senny
No branches or pull requests
Stumbled across this today:
The test file is test/models/delivery_test.rb, but it's reporting the model file instead.
The test itself uses Mocha. If I flunk earlier in the test before that's triggered, then the reporting is correct.
The text was updated successfully, but these errors were encountered: