Commit graph

271 commits

Author SHA1 Message Date
Eric Schultz
3a4b2366c9 Add api/users/current 2021-08-06 17:40:30 -05:00
Eric Schultz
e4111c7d94 Remove no longer used migration specs 2021-07-29 15:01:01 -05:00
Eric Schultz
dea870772d Add shoulda-matchers and begin using 2021-07-22 12:00:21 -05:00
Eric Schultz
b7967fc5f6 Add example status persistance so we can run bin/rspec --only-failures 2021-07-22 11:36:43 -05:00
Eric Schultz
2c791b920c Add stripe_refund.* publishing
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-07-14 11:23:22 -05:00
Clarissa Borges
1c9aecd605 Creates StripeDispute and its respective event publishing 2021-07-06 11:12:13 -05:00
Clarissa Borges
a7cbf3653e Create offline_transaction_dispute.* event publishing 2021-06-23 11:03:26 -05:00
Clarissa Borges
7972ec8ea7 Creates OfflineTransactionRefund event publishing 2021-06-18 11:42:20 -05:00
Eric Schultz
7e02530fda Add Initial OfflineTransactionRefund 2021-06-18 11:42:20 -05:00
Eric Schultz
9a58b9f684 Automagically load all the context files for spec testing 2021-06-16 16:29:44 -05:00
Eric Schultz
9aaa1e491e Add start to RecurrenceRule 2021-06-09 11:18:44 -05:00
Eric Schultz
e04fd12f78 recurrence.updated is fired when updated recurring donations 2021-06-09 11:18:44 -05:00
Eric Schultz
b72512906c recurrence.created is fired when inserting recurring donations 2021-06-09 11:18:44 -05:00
Eric Schultz
157bd20b26 Recurrence#to_builder works and unit tested 2021-06-09 11:18:44 -05:00
Clarissa Borges
eaa2b40499 Considering timezone when querying payments 2021-05-28 11:11:46 -05:00
Clarissa Borges
f56ba93e71 Considering timezone when querying supporters 2021-05-28 11:11:46 -05:00
Clarissa Borges
fbc3d8e51d Validates nonprofit's timezone 2021-05-21 15:18:25 -05:00
Eric Schultz
63c40ccba7 Add framing of /donate and /btn 2021-05-19 16:36:11 -05:00
Eric Schultz
225232f62f InsertTicket now fires transaction events 2021-05-14 11:15:04 -05:00
Eric Schultz
a5ad78b824 Immediate recurring donation charges fire object events 2021-05-14 11:15:04 -05:00
Eric Schultz
1b20e6499a Donations create StripeCharge events 2021-05-14 11:15:04 -05:00
Eric Schultz
47940d8977 Move info about the hoster into its own module 2021-04-23 12:59:42 -05:00
Eric Schultz
2e8821efdf Initial Transaction and OfflineTransaction support
Co-authored-by: Clarissa Lima Borges <clarissa@commitchange.com>
2021-04-13 10:47:37 -05:00
Eric Schultz
e4e162c4ab Add enumerable attribute support to Model::Jbuilder::BuilderExpansion with unit tests 2021-04-08 11:08:17 -05:00
Eric Schultz
30e93e5bbe Integrate react_on_rails 2021-04-08 10:25:13 -05:00
Clarissa Borges
13df866c3d Add scheme to websites before Nonprofit validation 2021-04-02 13:51:02 -05:00
Clarissa Borges
58777ed7bb Use validates_url gem to validate Nonprofit's website 2021-04-02 13:51:02 -05:00
Eric Schultz
916fd18da5 Rubocop spec/models/supporter_note_spec.rb 2021-03-31 11:40:55 -05:00
Eric Schultz
83e7c33e45 Replace raw match with match_houid in a spec 2021-03-31 11:40:55 -05:00
Eric Schultz
e26581dba5 Replace nonprofit creation with houdini:nonprofit:create Rails command 2021-03-28 16:17:52 -05:00
Eric Schultz
e2b868f6de Have Javascript locales generate (or clean) as part of other expected tasks and commands 2021-03-15 15:30:15 -05:00
Clarissa Borges
84f0e857a1 Upgrades ruby to 2.7.2 2021-03-02 17:51:28 -06:00
Eric Schultz
045af4b32e Removed unused simplecov gem 2021-03-02 16:49:57 -06:00
Eric Schultz
01e1a67b9e Changed money to use "cents" so it's consistent with ruby-money Money object 2021-02-26 15:07:49 -06:00
Eric Schultz
914b06dc84 Correct a few bugs 2021-02-25 16:24:14 -06:00
Eric Schultz
1048ef6593 Remove outdated cve specs 2021-02-25 16:24:14 -06:00
Eric Schultz
5495f6574a Rubocop spec/support/expect.rb 2021-02-25 16:24:14 -06:00
Eric Schultz
7ce86e2c88 Remove unused spec files 2021-02-25 16:24:14 -06:00
Eric Schultz
4c8544b5cd Rubocop spec/support/date_time.rb 2021-02-25 16:24:14 -06:00
Eric Schultz
5b21befe8e Migrate to use Money as the base of all monetary values in the event work 2021-02-24 18:10:10 -06:00
Eric Schultz
8c47573501 Rubocop controller concerns and specs 2021-02-24 16:18:43 -06:00
Eric Schultz
ba7dfa5c21 Rubocop spec/controllers/widget_controller_spec.rb 2021-02-24 16:18:43 -06:00
Eric Schultz
16933dde08 Reformat spec/requests/maintenance_spec.rb 2021-02-24 16:18:43 -06:00
Eric Schultz
9c718b09d5 Remove empty spec 2021-02-24 16:18:43 -06:00
Clarissa Lima Borges
c5afb3e0b7 Set GoodJob dashboard up for super_admins
* Set GoodJob dashboard up for super_admins

Co-authored-by: Eric Schultz <eric@commitchange.com>
2021-02-24 11:25:07 -06:00
Eric Schultz
ce9905289b Remove unused Donation.category field 2021-02-23 16:43:19 -06:00
Eric Schultz
022ac4e80b Add a spec for making sure super_admin? returns false if the user has no roles 2021-02-19 15:22:22 -06:00
Eric Schultz
9264297a51 Add super_admin? method to User 2021-02-19 11:34:40 -06:00
Eric Schultz
7f9e643915 Add validation for length of object_event_types 2021-02-18 14:53:06 -06:00
Clarissa Borges
885bcee03a Fixing supporter and supporter note creation 2021-02-16 17:19:13 -06:00