test/lib/vedeu/geometry/geometry_test.rb in vedeu-0.4.46 vs test/lib/vedeu/geometry/geometry_test.rb in vedeu-0.4.47
- old
+ new
@@ -88,10 +88,12 @@
name: 'maximise',
width: 18
}
}
+ before { Vedeu.stubs(:trigger) }
+
subject { instance.maximise }
it { subject.must_be_instance_of(described) }
it { subject.maximised.must_equal(true) }
@@ -104,9 +106,11 @@
maximised: true,
name: 'unmaximise',
width: 18
}
}
+
+ before { Vedeu.stubs(:trigger) }
subject { instance.unmaximise }
it { subject.must_be_instance_of(described) }