spec/linodians/group_spec.rb in linodians-1.0.0 vs spec/linodians/group_spec.rb in linodians-1.0.1

- old
+ new

@@ -11,17 +11,17 @@ it 'is frozen' do expect(group.members.frozen?).to be_truthy end it 'contains employees' do - expect(group.members).to all(be_an_instance_of Linodians::Employee) + expect(group.members).to all(be_an_instance_of(Linodians::Employee)) end end describe '#lookup' do it 'looks up employees' do - expect(group.lookup('rohara').username).to eql 'rohara' + expect(group.lookup('jstitt').username).to eql 'jstitt' end it 'returns nil if no match exists' do expect(group.lookup('akerl')).to be_nil end @@ -35,9 +35,9 @@ it 'raises if the method does not exist' do expect { group.fake }.to raise_error NoMethodError end it 'correctly responds to respond_to?' do - expect(group.respond_to? :size).to be_truthy - expect(group.respond_to? :fake).to be_falsey + expect(group.respond_to?(:size)).to be_truthy + expect(group.respond_to?(:fake)).to be_falsey end end