Sha256: 4582abe3e9f51d70fd3583aa4ff6bf643c90c7697fd566fb9a5fef034d488cf0

Contents?: true

Size: 308 Bytes

Versions: 25

Compression:

Stored size: 308 Bytes

Contents

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

Version data entries

25 entries across 25 versions & 1 rubygems

Version Path
ProMotion-0.6.4 spec/main_spec.rb
ProMotion-0.6.3 spec/main_spec.rb
ProMotion-0.6.2 spec/main_spec.rb
ProMotion-0.6.1 spec/main_spec.rb
ProMotion-0.6.0 spec/main_spec.rb