Sha256: 47149bccf3f164678b0941a5e050f49873c2aa26358059f729d371f4daeb2c54
Contents?: true
Size: 295 Bytes
Versions: 2
Compression:
Stored size: 295 Bytes
Contents
require 'entities/user' RSpec.describe Entities::User do subject(:user) { Entities::User.new(1, 'Jane') } describe '#id' do it 'works' do expect(user.id).to be(1) end end describe '#name' do it 'works too' do expect(user.name).to eql('Jane') end end end
Version data entries
2 entries across 2 versions & 2 rubygems
Version | Path |
---|---|
dry-web-0.1.0 | skeletons/simple/spec/unit/user_spec.rb |
rodakase-0.0.1 | skeletons/simple/spec/unit/user_spec.rb |