Commit graph

80 commits

Author SHA1 Message Date
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