Commit graph

271 commits

Author SHA1 Message Date
Eric
5b0110e1ef Migrate all chunked uploading to the new ChunkedUploader.upload method 2020-05-27 12:32:31 -05:00
Eric
6784583cbe Remove ChunkedUploader::S3 2020-05-27 12:32:31 -05:00
Eric
2b323f9bbc Simplify the ChunkedUploader so we use ActiveStorage 2020-05-27 12:32:31 -05:00
Eric
d5c788f07b simplify the state/city/name routes 2020-05-27 12:30:04 -05:00
Eric
e99639ffbe Remove the migration_sanity_spec.rb since it's not really useful long-term 2020-05-08 16:25:43 -05:00
Eric Schultz
c20d01c4e8 Add api/nonprofits#create 2020-04-21 13:47:49 -05:00
Eric Schultz
b19cb9ddc8 Rename some sample nonprofits to make certain tests easier 2020-04-20 14:41:01 -05:00
Eric Schultz
4d8e5207b9 Add initial verification for Nonprofit registration through model 2020-04-17 17:51:59 -05:00
Eric Schultz
38a1afc0f1 getting closer! 2020-04-17 15:30:54 -05:00
Eric Schultz
30b2df23e2 WIP 2020-04-17 14:38:58 -05:00
Eric Schultz
5a5a657b58 Cleanup of nonprofit factories 2020-04-17 14:02:07 -05:00
Eric Schultz
5b5b6fa330 Add support for parallel_tests 2020-04-16 14:17:57 -05:00
Eric Schultz
521b6ad904 Add a spec for campaigns.json 2020-04-02 10:50:28 -05:00
Eric Schultz
c2abc274fa Remove unused code 2020-02-10 14:21:17 -06:00
Eric Schultz
762eba6aad Remove unused code 2020-02-10 14:19:56 -06:00
Eric Schultz
e1b2ac4d28 All stats pass with listeners 2020-02-10 14:01:49 -06:00
Eric Schultz
2a20b9f381 ticket_create event working 2020-01-07 11:20:28 -06:00
Eric Schultz
31e4a69a22 Added refund create and recurring donation create 2020-01-07 11:07:48 -06:00
Eric Schultz
985f14688e Initial event publishing support 2020-01-06 16:30:28 -06:00
Eric Schultz
bfa3e2db3b Additional email_job_spec cleanup 2019-11-08 16:19:34 -06:00
Eric Schultz
c2226c9893 Add EmailJob 2019-11-08 16:13:03 -06:00
Eric Schultz
d544242ae7 Correct bugs in how payment notification jobs are enqueued 2019-11-08 16:13:03 -06:00
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
Eric Schultz
09cd0d1790 Setup simplecov 2018-12-10 15:51:50 -06:00
Eric Schultz
6fb2721a08 Copy naming algorithms not longer run full max copy tests. This shortens test times by a significant amount without reducing coverage that much 2018-12-10 13:24:35 -06:00
Eric Schultz
d9b7d6413c Campaign export calculations are fixed and specs 2018-12-04 16:40:48 -06:00
Eric Schultz
58c42598e3 Merge branch 'master' into docker-improvement-latest2 2018-11-30 21:40:12 -06:00
Eric Schultz
4c8065e98f Fix bugs in spec 2018-11-30 21:38:45 -06:00
Eric Schultz
f8874f49f6
Merge branch 'master' into docker-improvement-latest 2018-11-30 20:47:50 -06:00
Eric Schultz
3a4a960fe8 Fix a few specs 2018-11-21 14:34:08 -06:00
Eric Schultz
27877a716c Campaign metrics include child campaign metrics now 2018-11-21 11:00:45 -06:00
Eric Schultz
87dc491ef4 remove last of campaign template features 2018-11-21 11:00:45 -06:00
Eric Schultz
743fd2a15e remove empty spec 2018-11-21 11:00:44 -06:00
Eric Schultz
d711403674 WIP 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
b90aac15ad Remove empty spec files 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
d17c54b538 Refactor, specs for creating p2p campaign 2018-11-21 11:00:44 -06:00
Kasia Jarmołkowicz
399f6ff0c6 Merge branch 'p2p-campaigns' into h-custom-layout 2018-11-21 11:00:44 -06:00
Eric Schultz
d4b867e930 Working .travis.yml 2018-11-12 16:46:17 -06:00
Eric Schultz
3d704cd876 Split dedications up in the export 2018-10-25 16:56:44 -05:00
Eric Schultz
b2a28dd78c Fix weird formatting bug in test 2018-10-25 12:45:07 -05:00
Eric Schultz
543cc86645 Remove unused spec 2018-10-25 12:45:07 -05:00
Eric Schultz
6bbdfc4ebc Make contacts in dedications into usable json 2018-10-25 12:45:07 -05:00
Eric Schultz
e4161531aa Fix bug where ticket check-ins don't work properly. Closes #101 2018-10-24 11:37:04 -05:00
Eric Schultz
9d4925dc78 Can hard sync a mailchimp list 2018-10-24 11:36:02 -05:00
Eric Schultz
9ca314c8e9 Fix bug where p2p campaign editors couldn't add offsite donations 2018-08-30 15:16:06 -05:00
Eric Schultz
82dbe471bd Correct a bug where we get all params in the nonprofit 2018-08-16 14:33:36 -05:00
Eric Schultz
5026af021d Fix for nonprofit being weird 2018-08-16 13:29:29 -05:00
Eric Schultz
893bfd38b3 Fix for query_roles bug 2018-08-15 11:55:47 -05:00
Eric Schultz
26704b1d94 Fix where text/csv exports weren't always uploaded as attachment 2018-08-08 12:23:28 -05:00
Eric Schultz
bf5b10f280 Filtering by event or campaign will include refunds now 2018-07-31 16:43:58 -05:00
Eric Schultz
9c5d2df50b remove commented out code 2018-07-19 13:31:58 -05:00