Files
ProMotion/spec/main_spec.rb
Mark Rickert fdb3945a76 Clean up trailing spaces globally.
I know it's not a big thing, but my editor highlights them in bright purple and auto-trims them on save… so i thought i'd clean them up :)
2013-05-06 10:10:12 -04:00

14 lines
308 B
Ruby

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
end