Commit graph

199 commits

Author SHA1 Message Date
Eric Schultz
207adfc42b Fix bugs in ExportPaymentsSpec 2019-11-08 16:13:03 -06:00
Eric Schultz
afae51ab4e Fixes to ExpectRecurringDonations spec 2019-11-08 16:13:03 -06:00
Eric Schultz
3f04f70171 Fix spec problem where queued jobs were never cleared 2019-11-08 16:13:03 -06:00
Eric Schultz
6e04c84aa1 Remove redundant tier bug 2019-11-08 16:13:03 -06:00
Eric Schultz
28d1c11af4 Add test queue adapter 2019-11-08 16:13:03 -06:00
Eric Schultz
f76bff6cbb Fix typo in spec 2019-11-08 16:13:03 -06:00
Eric Schultz
b84f3fc2ef Fix some typos! 2019-11-08 16:13:03 -06:00
Eric Schultz
cfa5fb8b0f Add SupportersExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
1422b5907e Add RecurringDonationsExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
016e69283c Add SupporterNotesExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
bc959425c5 Add PaymentExportCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
5236eda39d Add CreateWeMoveExecuteForDonationsJob 2019-11-08 16:13:03 -06:00
Eric Schultz
34e67f5577 Use AdminFailedGiftJob 2019-11-08 16:13:03 -06:00
Eric Schultz
ef9c4776fa Improve CampaignCreateJob 2019-11-08 16:13:03 -06:00
Eric Schultz
fe9339fccc Remove unused EmailJobQueue 2019-11-08 16:13:03 -06:00
Eric Schultz
26a262599d Remove old GenericMailJob 2019-11-08 16:13:02 -06:00
Eric Schultz
2d28f4023c Remove unneeded expectation 2019-11-08 16:13:02 -06:00
Eric Schultz
a4b32cf949 remove AdminNoticeJob 2019-11-08 16:13:02 -06:00
Eric Schultz
4b8bb49d76 Add Ticket Creation Notifications for Nonprofits 2019-11-08 16:13:02 -06:00
Eric Schultz
1fa53e65f2 Add TicketCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
78e803b1d6 AddRefundNotificationNonprofitEmailJob 2019-11-08 16:13:02 -06:00
Eric Schultz
cc45ec820a Add RecurringDonationChangeAmountNonprofitEmailJob 2019-11-08 16:13:02 -06:00
Eric Schultz
3aa1075c76 Add RecurringDonationCancelledJob 2019-11-08 16:13:02 -06:00
Eric Schultz
0d70861a19 Add PaymentNotificationEmailNonprofitJob 2019-11-08 16:13:02 -06:00
Eric Schultz
283ebc553b Add BankAccountCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
7c9524ee21 Add VerificationCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ade965ba22 Add VerificationFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
6ce5a43735 Correct some missing features on the ExportSupportersCompletedJob addition 2019-11-08 16:13:02 -06:00
Eric Schultz
9b501c4509 Add ExportSupportersFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
bedce11511 Add ExportSupportersCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b2aaf30a14 Add SupporterFundraiserCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
00e9cb972d Add UserInviteCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b295bcfa65 Add RoleAddedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
c29bd50fc2 Add ImportCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
2bceb3389c Add ExportSupporterNotesFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ad2b701f69 Add ExportSupporterNotesCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6e11124de Add ExportRecurringDonationsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e9a01c76ef Add ExportRecurringDonationsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
24ba568756 Add ExportPaymentsFailedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
30a868978a Add ExportPaymentsCompletedJob 2019-11-08 16:13:02 -06:00
Eric Schultz
f68a432ee5 Add NonprofitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
94398f8bdf Add PayoutPendingJob 2019-11-08 16:13:02 -06:00
Eric Schultz
e05466d0c6 Add EventCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
8a97e3a8af Add RefundNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
b6292ab7aa Add RecurringDonationChangeAmountJob 2019-11-08 16:13:02 -06:00
Eric Schultz
ff1a8b92f5 Add PaymentNotificationJob 2019-11-08 16:13:02 -06:00
Eric Schultz
fe7322c5da Add FailedRecurringDonationPaymentJob 2019-11-08 16:13:02 -06:00
Eric Schultz
052474ac80 Add DirectDebitCreateJob 2019-11-08 16:13:02 -06:00
Eric Schultz
99373d5792 Create AdminFailedGiftJob 2019-11-08 16:13:02 -06:00
Eric Schultz
7b4b4573b0 Add CampaignCreationEmailFollowupJob 2019-11-08 16:13:02 -06:00
Eric Schultz
a0728e80e3 Update rspec 2019-11-06 16:22:05 -06:00
Eric Schultz
53b3f5800e Removing tiers 2019-11-05 14:06:59 -06:00
Eric Schultz
51ef25b3af Remove trial support 2019-11-05 13:38:36 -06:00
Eric Schultz
60ef60ef0c Remove unused js specs 2019-10-22 14:36:00 -05:00
Luis Castro
6ab13ce5bf
test(nonprofit): change expectation to bad request, from malformed token 2019-08-12 13:50:10 +02:00
Luis Castro
deae69bce8
chore(shared_user_ctx): rename method for clarity 2019-08-02 19:19:56 +02:00
Luis Castro
b65b88b292
test(static_controller): fix inconsistency with Settings merge 2019-08-02 19:07:31 +02:00
Luis Castro
c21ddbba06
test(views): add arg for views without json format 2019-08-02 19:07:31 +02:00
Luis Castro
fd564be0bc
fix(test_uploader): remove frozen literal from test file 2019-08-02 19:07:31 +02:00
Luis Castro
096a6a27a1
test(payouts): add matching expectaions to db timestamp values 2019-08-02 19:07:31 +02:00
Luis Castro
5fe98ab464
test(timespan): fix inconsistency between expectation and actual output
* Also added timecop to spec to avoid future breaks.
2019-08-02 19:07:31 +02:00
Luis Castro
3965ba59f9
feat(timespan): add new syntax for declaring constants in a Struct 2019-08-02 19:07:30 +02:00
Luis Castro
2552e831b3
chore(rspec): supress warnings on false positives 2019-08-02 19:07:30 +02:00
Luis Castro
aacd4af6c0
test(methods): add methods to without json response config 2019-08-02 19:07:30 +02:00
Luis Castro
529745bf22
test(button): remove from json views 2019-08-02 19:07:30 +02:00
Luis Castro
2c12b5864b
test(edit): fix edit actions controller expect to html render method 2019-08-02 19:07:30 +02:00
Luis Castro
f0fd393be4
style(format): run rubocop format autocorrect 2019-08-02 19:07:29 +02:00
Luis Castro
84f8a583ba
test(shared_user_ctx): add conditional specs for types of methods 2019-08-02 19:07:28 +02:00
Luis Castro
33862bab25
test(support): fix any_instance deprecation warning
Changed from the old syntax to the new allow_any_instance_of according to the documentation.

https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:27 +02:00
Luis Castro
e08d7836c6
test(nonprofit): fix xhr deprecation warnings
`xhr` and `xml_http_request` are deprecated, changed to new syntax
2019-08-02 19:07:26 +02:00
Luis Castro
d4f6e2d91d
test(donation_context): fix any_instance deprecation warning
Changed from the old syntax to the new allow_any_instance_of according to the documentation.

https://www.rubydoc.info/github/rspec/rspec-mocks/RSpec/Mocks/ExampleMethods%3aallow_any_instance_of
2019-08-02 19:07:26 +02:00
Luis Castro
fb638f0c26
test(shared_user_context): fix positional args warning
Using positional arguments in functional tests has been deprecated
2019-08-02 19:07:26 +02:00
Luis Castro
57125774ef
test(params): fix HttpPositionalArguments
Automatic run with `bundle exec rubocop --rails --only HttpPositionalArguments --auto-correct`
2019-08-02 19:07:26 +02:00
Luis Castro
c3c1311e2f
test(shared_user_context): move to ActionDistpach
From ActionController::TestResponse, to use the new IntegrationTest from rails 5.
2019-08-02 19:07:25 +02:00
Luis Castro
35c2f5a640
test(setup): update Devise controller helpers 2019-08-02 19:07:25 +02:00
Eric Schultz
938821ed5f
Initial rails 4.2 2019-08-02 19:07:23 +02:00
Eric Schultz
d90d2b3505
Make CreateCampaign fail in pending 2019-08-02 19:07:14 +02:00
Eric Schultz
a05f8582de
Remove deprecated '.to_time_in_current_zone' usage 2019-08-02 19:07:14 +02:00
Eric Schultz
cc24183cb9
Fix some quirky test issues with non-reloaded entities 2019-08-02 19:07:13 +02:00
Eric Schultz
964aadbfb1
Correct bug in maintenance_spec.tb 2019-08-02 19:07:13 +02:00
Eric Schultz
438ecf16c8
Correct spec for campaign_gift_options 2019-08-02 19:07:13 +02:00
Eric Schultz
568835c9bf
Fix a numb of invalid routes in Rails 4 2019-08-02 19:07:13 +02:00
Eric Schultz
b4ebaa8102
Fix routing bugs in TicketsController spec 2019-08-02 19:07:13 +02:00
Eric Schultz
5f7b284c4f
Fix bug where delete_card_for_ticket spec was failing 2019-08-02 19:07:13 +02:00
Eric Schultz
a5903d9daf
Correct blocklist name
WIP
2019-08-02 19:07:07 +02:00
Eric Schultz
881e42cc0b
Correct rubocop warning 2019-08-02 19:07:07 +02:00
Eric Schultz
ca17696529
Initial Update to ruby 4.2 2019-08-02 19:06:28 +02:00
Eric Schultz
25c269b4c0 Add a way to get other tickets purchased as part of same order 2019-07-12 13:32:04 -05:00
Eric Schultz
854981992b Fix bad const naming in a test 2019-03-21 15:14:49 -05:00
Eric Schultz
bdc6331e6a Merge branch 'master' into fix_license 2019-03-21 14:53:24 -05:00
Eric Schultz
c660402a5b Fix missing license header 2019-03-21 14:53:11 -05:00
Eric Schultz
1bc048b52a Add an export for supporter notes 2019-03-21 14:19:11 -05:00
Eric Schultz
7f74b30129 Add export enumerable for supporter notes 2019-03-21 14:16:42 -05:00
Eric Schultz
0916fe74c0 Add a federated P2P creation email 2019-02-11 16:20:50 -06:00
Eric Schultz
84a48860e2 Consider deleted campaigns in slug naming 2019-02-05 16:57:45 -06:00
Eric Schultz
4b9a74de98 Remove VCR 2019-01-25 17:27:29 -06:00
Eric Schultz
8738849711 Rename a spec properly 2019-01-24 14:34:18 -06:00
Eric Schultz
73be70b872 Add Campaign Creator email to campaign export report 2019-01-22 16:24:01 -06:00
Eric Schultz
22ea10c65e Add campaign_id to export 2019-01-22 16:23:20 -06:00
Eric Schultz
3b3763f5a6 Add useful validation message for is_equal_to 2018-12-13 12:42:27 -06:00