Sha256: 3968c2167b6ee889efa765f7a3a5b6565ce346f777d407f5921113d6e7a5506b

Contents?: true

Size: 451 Bytes

Versions: 5

Compression:

Stored size: 451 Bytes

Contents

require "test_helper"

class ClassDependenciesTest < Minitest::Spec
  #- Operation[] and Operation[]=

  # class Index < Trailblazer::Operation
  #   extend ClassDependencies

  #   self["model.class"] = Module

  #   step ->(options, **) { options["a"] = options["model.class"] }
  # end

  it { skip "https://trello.com/c/t8bUJlqb/25-op-class-dependencies"; Index.({}).inspect("a", "model.class").must_equal %{<Result:true [Module, Module] >} }
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
trailblazer-operation-0.6.0 test/class_dependencies_test.rb
trailblazer-operation-0.5.3 test/class_dependencies_test.rb
trailblazer-operation-0.5.2 test/class_dependencies_test.rb
trailblazer-operation-0.5.1 test/class_dependencies_test.rb
trailblazer-operation-0.5.0 test/class_dependencies_test.rb