test/lib/vedeu/null/generic_test.rb in vedeu-0.6.71 vs test/lib/vedeu/null/generic_test.rb in vedeu-0.7.0
- old
+ new
@@ -21,12 +21,12 @@
it { instance.must_respond_to(:visible?) }
end
describe '#initialize' do
it { instance.must_be_instance_of(described) }
- it {
+ it do
instance.instance_variable_get('@attributes').must_equal(attributes)
- }
+ end
context 'when a name is given' do
it { instance.instance_variable_get('@name').must_equal(_name) }
end