Commit graph

38 commits

Author SHA1 Message Date
Benjamin Neff
e6e9893c1f
Make rspec work without rails dependency 2017-04-05 02:02:04 +02:00
Benjamin Neff
ccd4b7eceb
Extract helper methods 2017-04-05 00:36:52 +02:00
Benjamin Neff
3ce908e713
Fix typo in rspec-persistence.txt 2017-04-05 00:36:52 +02:00
Benjamin Neff
b0f6131527
Remove active_record and save models in-memory
Simple inmemory "database" to be independent from active_record.
2017-04-05 00:36:52 +02:00
Benjamin Neff
f8e7b2114f
Remove fixture_builder 2017-04-04 22:14:13 +02:00
Benjamin Neff
7fe7a5da97
Don't generate file fixtures anymore
When we want to test without rails, we can't use the controllers to
generate them.

Also fixes the problem where there is still an old file fixture that
doesn't match the users in the database.
2017-04-04 22:14:13 +02:00
Benjamin Neff
184954e09c
Replace factory_girl with fabrication
factory_girl has activesupport as dependency
2017-04-04 22:14:13 +02:00
cmrd Senya
f23f4c0ea4 Introduce Signable module
Signable is a module that encapsulate basic signature logic for entities.
2017-03-26 02:18:19 +02:00
cmrd Senya
c58d076c96
Entity JSON serialization/deserialization feature 2017-03-23 13:55:19 +02:00
cmrd Senya
6e11fb6810 use enriched_properties in Entity#to_h 2017-01-07 22:55:53 +03:00
Benjamin Neff
dd1c16ce91 add types for string properties 2016-12-28 02:43:16 +01:00
Benjamin Neff
042b1192c2 bump codeclimate-test-reporter 2016-11-10 04:07:59 +01:00
Benjamin Neff
771a1559e3 Activate ruby 2.1 with rails 4.2 on travis again 2016-11-08 00:25:20 +01:00
Benjamin Neff
aac2a1652e create expect_callback() spec-helper 2016-03-29 03:14:01 +02:00
Benjamin Neff
1d4d3d732d use shorter callback keys for key-callbacks 2016-03-29 02:42:19 +02:00
Benjamin Neff
eb486b2a18 improve dummy app callbacks 2016-02-03 00:47:21 +01:00
Benjamin Neff
9f67cade7e fix factories with spring 2015-12-27 22:19:58 +01:00
cmrd Senya
6615e67d80 Enable persistance file for rspec 2015-12-14 11:00:28 +03:00
cmrd Senya
91376a3e26 Retractions signatures support 2015-12-03 00:15:32 +03:00
cmrd Senya
64608e7869 Introduce diaspora_federation-test gem 2015-11-23 23:58:28 +03:00
cmrd Senya
91c3753019 Add signature computation for entities support 2015-11-22 23:40:46 +03:00
Benjamin Neff
4dd7dd7c71 whitelist codeclimate.com in webmock so test coverage can be reported 2015-07-29 02:01:20 +02:00
Benjamin Neff
0deb74c103 refactor: rename diaspora_handle to diaspora_id
diaspora uses the new wording "diaspora ID" instead of "diaspora handle"
2015-07-23 01:22:23 +02:00
Benjamin Neff
bfe1b77c87 use rails logger
and ignore logging for test coverage
2015-07-20 03:43:54 +02:00
Benjamin Neff
5be60f8fe0 load fixtures before tests 2015-07-20 03:43:54 +02:00
Benjamin Neff
3a94930dcd add test for Discovery 2015-07-18 23:19:30 +02:00
Benjamin Neff
0204b3d9ff add Fetcher for http requests 2015-07-18 21:58:44 +02:00
Benjamin Neff
2c50d34370 refactor WebFinger to use the PropertiesDSL 2015-07-08 01:45:57 +02:00
Benjamin Neff
e955ef8966 add Entity and PropertiesDSL 2015-07-08 01:45:57 +02:00
Benjamin Neff
e8d047f9fb add HCardController to deliver the hCard 2015-06-27 23:28:05 +02:00
Benjamin Neff
b1b98adb21 generate fixtures 2015-06-23 00:01:13 +02:00
Benjamin Neff
b718562fa5 coverage for lib folder 2015-06-17 00:13:33 +02:00
Benjamin Neff
cd563dd337 add fixtures 2015-06-15 02:49:54 +02:00
Benjamin Neff
98f19485e8 add simplecov-rcov formatter for jenkins 2015-06-14 23:55:13 +02:00
Benjamin Neff
f0591a745b add basic webfinger stuf (WIP)
and:
- add configure method to set some configs
- write rdoc
2015-06-14 22:13:38 +02:00
Benjamin Neff
4fbd5e65a7 add simplecov 2015-06-13 17:10:31 +02:00
Benjamin Neff
710e54ade2 add codeclimate 2015-06-11 03:23:58 +02:00
Benjamin Neff
8f7ca92e07 rspec dummy test 2015-06-11 02:16:54 +02:00