Sha256: 4a4ba791f81018d343326d9118132e42b0641b85e4e064af5d719bb8d348b782
Contents?: true
Size: 622 Bytes
Versions: 15
Compression:
Stored size: 622 Bytes
Contents
require 'test_helper' module Vedeu describe Groups do let(:described) { Vedeu::Groups } describe '#by_name' do let(:_name) { 'carbon' } subject { described.groups.by_name(_name) } context 'when the group exists' do before do Vedeu.group 'carbon' do end end after { Vedeu.groups.reset } it { subject.must_be_instance_of(Vedeu::Group) } end context 'when the group does not exist' do let(:_name) { 'nitrogen' } it { subject.must_be_instance_of(Vedeu::Group) } end end end # Groups end # Vedeu
Version data entries
15 entries across 15 versions & 1 rubygems