test/lib/vedeu/repositories/repositories/menus_test.rb in vedeu-0.4.40 vs test/lib/vedeu/repositories/repositories/menus_test.rb in vedeu-0.4.41
- old
+ new
@@ -4,10 +4,19 @@
describe Menus do
let(:described) { Vedeu::Menus }
- # it { skip }
+ it { described.must_respond_to(:menus) }
+
+ describe '.reset!' do
+ subject { described.reset! }
+
+ it {
+ described.expects(:register).with(Vedeu::Menu)
+ subject
+ }
+ end
end # Menus
end # Vedeu