Sha256: c5a16cc2318c4a4c88e1dd5124051f5cf9c2a7b9d8e34403b00a40fe3c6c369d
Contents?: true
Size: 295 Bytes
Versions: 6
Compression:
Stored size: 295 Bytes
Contents
require 'helper' require 'flipper/identifier' RSpec.describe Flipper::Identifier do describe '#flipper_id' do class User < Struct.new(:id) include Flipper::Identifier end it 'uses class name and id' do expect(User.new(5).flipper_id).to eq('User;5') end end end
Version data entries
6 entries across 6 versions & 1 rubygems