RubyFlow The Ruby and Rails community linklog

×

The Ruby and Rails community linklog

Made a library? Written a blog post? Found a useful tutorial? Share it with the Ruby community here or just enjoy what everyone else has found!

Testing Ruby decorators with super_method

When we write Ruby decorators often we need to override a simple method which returns a data set just to add a couple of fields. How can we test this scenario without writing complex specs? https://nebulab.it/blog/testing-decorators-with-super-method/

Post a comment

You can use basic HTML markup (e.g. <a>) or Markdown.

As you are not logged in, you will be
directed via GitHub to signup or sign in