Skip to content

Tests failing #31

@jagthedrummer

Description

@jagthedrummer

Trying to run the test suite locally I'm getting these errors. CI also seems to be broken, but in a different way, so I'm not sure if these are legit errors or if it indicates that my local setup is funky.

$ ./bin/rails test
Run options: --seed 29697

# Running:

......F

Failure:
#broken_hard_limits_message#test_0005_returns the broken limits for another action [/Users/jgreen/projects/bullet-train-pro/bullet_train-billing-usage/test/helpers/billing/usage_helper_test.rb:47]:
Expected "You can't create a Membership because you've already created 3 Memberships allowed by your Basic account." to include "You can't create a Membership because you've already created 3 out of 3 Memberships".


rails test test/helpers/billing/usage_helper_test.rb:42

F

Failure:
#broken_hard_limits_message#test_0002_returns the broken limits alongside the current limits [/Users/jgreen/projects/bullet-train-pro/bullet_train-billing-usage/test/helpers/billing/usage_helper_test.rb:27]:
Expected "You can't add a Membership because you've already used the 3 Memberships allowed by your Basic account." to include "because you already have 3 out of 3 Memberships".


rails test test/helpers/billing/usage_helper_test.rb:24

..F

Failure:
#broken_hard_limits_message#test_0003_returns a message that you already have if you are not trying to add more [/Users/jgreen/projects/bullet-train-pro/bullet_train-billing-usage/test/helpers/billing/usage_helper_test.rb:33]:
Expected "You've used 3 Memberships allowed by your Basic account." to include "You've used 3 of 3 Memberships".


rails test test/helpers/billing/usage_helper_test.rb:30

...........

Finished in 0.167350s, 131.4610 runs/s, 256.9465 assertions/s.
22 runs, 43 assertions, 3 failures, 0 errors, 0 skips

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions