Codecast: Create a RubyGem 16: Refactor specs with a support module and shared examples


This is the 16th video in the NerdDice create a RubyGem series. In this video, Mike refactors the specs from the previous video using a module in the spec/support directory and uses RSpec shared examples to avoid multiple expectations in the same “it” block. He also fixes some RuboCop violations from the previous 2 videos.

, ,

Leave a Reply