trailblazer / cells

View components for Ruby and Rails.
https://trailblazer.to/2.1/docs/cells.html
3.07k stars 236 forks source link

Master test suite broken (undefined method `schema' for #<Class...) #416

Closed sbleon closed 8 years ago

sbleon commented 8 years ago
WorkerFileMarshallerTest#test_0001_anonymous:
NoMethodError: undefined method `schema' for #<Class:0x007fa97afea5f8>
    /Users/leon/code/gems/trailblazer-rails/lib/trailblazer/operation/worker.rb:82:in `file_marshaller_representer'
    /Users/leon/code/gems/trailblazer-rails/lib/trailblazer/operation/worker.rb:101:in `serializable'
    /Users/leon/code/gems/trailblazer-rails/lib/trailblazer/operation/worker.rb:18:in `run'
    /Users/leon/code/gems/trailblazer-rails/test/worker_test.rb:104:in `block in <class:WorkerFileMarshallerTest>'

I think the problem here might be that schema is an instance method on Reform::Form, not a class method.

apotonick commented 8 years ago

This is the wrong repository, buddy! :grimacing:

sbleon commented 8 years ago

Oh Jeez. That was silly of me! Sorry about that.