spec/main_spec.rb in ProMotion-0.5.2 vs spec/main_spec.rb in ProMotion-0.6.0
- old
+ new
@@ -1,10 +1,10 @@
describe "pro motion module" do
it "should have 'PM' module" do
should.not.raise(NameError) { PM }
end
-
+
it "should not allow screen inclusion into just any class" do
dummy = DummyClass.new
dummy.extend ProMotion::ScreenModule
should.raise(StandardError) { dummy.on_create }
end