├── .gitignore ├── .rspec ├── .travis.yml ├── Gemfile ├── LICENSE.txt ├── README.md ├── Rakefile ├── active_model_serializers_matchers.gemspec ├── lib ├── active_model_serializers_matchers.rb └── active_model_serializers_matchers │ ├── association_matcher.rb │ ├── association_matcher │ ├── association_check.rb │ ├── embed_key_check.rb │ ├── key_check.rb │ └── serializer_check.rb │ ├── negated_use_not_supported_error.rb │ └── version.rb └── spec ├── active_model_serializers_matchers └── association_matcher_spec.rb ├── active_model_serializers_matchers_spec.rb ├── spec_helper.rb └── support ├── dummy_serializers.rb ├── rspec_fail_matchers.rb └── shared_examples.rb /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- 1 | --color 2 | --format documentation 3 | -------------------------------------------------------------------------------- /.travis.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/.travis.yml -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/Gemfile -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/README.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/Rakefile -------------------------------------------------------------------------------- /active_model_serializers_matchers.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/active_model_serializers_matchers.gemspec -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/association_matcher.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/association_matcher.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/association_matcher/association_check.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/association_matcher/association_check.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/association_matcher/embed_key_check.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/association_matcher/embed_key_check.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/association_matcher/key_check.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/association_matcher/key_check.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/association_matcher/serializer_check.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/association_matcher/serializer_check.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/negated_use_not_supported_error.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/lib/active_model_serializers_matchers/negated_use_not_supported_error.rb -------------------------------------------------------------------------------- /lib/active_model_serializers_matchers/version.rb: -------------------------------------------------------------------------------- 1 | module ActiveModelSerializersMatchers 2 | VERSION = "0.2.1" 3 | end 4 | -------------------------------------------------------------------------------- /spec/active_model_serializers_matchers/association_matcher_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/active_model_serializers_matchers/association_matcher_spec.rb -------------------------------------------------------------------------------- /spec/active_model_serializers_matchers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/active_model_serializers_matchers_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/dummy_serializers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/support/dummy_serializers.rb -------------------------------------------------------------------------------- /spec/support/rspec_fail_matchers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/support/rspec_fail_matchers.rb -------------------------------------------------------------------------------- /spec/support/shared_examples.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/tonyta/active_model_serializers_matchers/HEAD/spec/support/shared_examples.rb --------------------------------------------------------------------------------