test/lib/vedeu/groups/group_test.rb in vedeu-0.7.4 vs test/lib/vedeu/groups/group_test.rb in vedeu-0.8.0

- old
+ new

@@ -35,17 +35,27 @@ instance.instance_variable_get('@repository').must_equal(repository) end it { instance.instance_variable_get('@visible').must_equal(visible) } end - describe 'accessors' do - it do - instance.must_respond_to(:name) - instance.must_respond_to(:name=) - instance.must_respond_to(:visible) - instance.must_respond_to(:visible=) - instance.must_respond_to(:visible?) - end + describe '#name' do + it { instance.must_respond_to(:name) } + end + + describe '#name=' do + it { instance.must_respond_to(:name=) } + end + + describe '#visible' do + it { instance.must_respond_to(:visible) } + end + + describe '#visible=' do + it { instance.must_respond_to(:visible=) } + end + + describe '#visible?' do + it { instance.must_respond_to(:visible?) } end describe '#add' do subject { instance.add('hydrogen') }