Sha256: b22f76c4878f80110dd515f41e9805f862d573358243d5999ff0ee3abb16b6be
Contents?: true
Size: 463 Bytes
Versions: 2
Compression:
Stored size: 463 Bytes
Contents
describe Metacrunch::Transformator::Transformation do class SomeStep < described_class::Step def call self.target = { muff: 1 } end end class SomeTransformation < described_class sequence [ SomeStep ] end it "foo" do result = SomeTransformation.call({ my: { awesome: { source: { title: "foo", description: "bar" } } } }) result end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
metacrunch-2.2.1 | spec/metacrunch/transformator/transformation_spec.rb |
metacrunch-2.2.0 | spec/metacrunch/transformator/transformation_spec.rb |