Commit graph

94 commits

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