Sha256: efedd00d9b146c85aed8c2e4d64704b6cc7054526382ff7b716e5bfbb4c83574
Contents?: true
Size: 397 Bytes
Versions: 20
Compression:
Stored size: 397 Bytes
Contents
RSpec.describe Tram::Policy::Inflector do let(:snake) { "test/admin2_user_new_policy" } let(:camel) { "Test::Admin2UserNewPolicy" } describe "#underscore" do subject { described_class.underscore "Test::Admin2USERNew-Policy" } it { is_expected.to eq snake } end describe "#camelize" do subject { described_class.camelize snake } it { is_expected.to eq camel } end end
Version data entries
20 entries across 20 versions & 1 rubygems