Sha256: bdf0ef2f065c5211d398425292e4589715f06e5d46f4a8ea077d3bd078f7fcbe

Contents?: true

Size: 310 Bytes

Versions: 1

Compression:

Stored size: 310 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

1 entries across 1 versions & 1 rubygems

Version Path
ProMotion-0.5.2 spec/main_spec.rb