test/lib/vedeu/support/visibility_test.rb in vedeu-0.4.16 vs test/lib/vedeu/support/visibility_test.rb in vedeu-0.4.17

- old
+ new

@@ -25,9 +25,17 @@ describe '#initialize' do it { instance.must_be_instance_of(Vedeu::Visibility) } it { instance.instance_variable_get('@model').must_equal(model) } end + describe '.for_cursor' do + let(:_name) {} + + subject { described.for_cursor(_name) } + + it { subject.must_be_instance_of(Vedeu::Visibility) } + end + describe '.show' do subject { described.show(model) } it { subject.must_equal(model) }