Skip to content

Instantly share code, notes, and snippets.

@fschwahn
Created November 18, 2022 09:21
Show Gist options
  • Select an option

  • Save fschwahn/300277770a2be9eaebf9d1f31fc592dc to your computer and use it in GitHub Desktop.

Select an option

Save fschwahn/300277770a2be9eaebf9d1f31fc592dc to your computer and use it in GitHub Desktop.

Revisions

  1. fschwahn created this gist Nov 18, 2022.
    17 changes: 17 additions & 0 deletions inflector_test.rb
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,17 @@
    require "bundler/inline"

    gemfile(true) do
    source "https://rubygems.org"

    gem "activesupport", "~> 6.1.0"
    end

    require "active_support"
    require "active_support/inflector"
    require "minitest/autorun"

    class BugTest < Minitest::Test
    def test_stuff
    assert_equal "hero".pluralize, "heros"
    end
    end