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-1.2.1 spec/unit/main_spec.rb
ProMotion-1.2.0 spec/unit/main_spec.rb
ProMotion-1.1.2 spec/unit/main_spec.rb
ProMotion-1.1.1 spec/unit/main_spec.rb
ProMotion-1.1.0 spec/unit/main_spec.rb
ProMotion-1.1.0.rc1 spec/unit/main_spec.rb
ProMotion-1.0.4 spec/unit/main_spec.rb
ProMotion-1.0.3 spec/unit/main_spec.rb
ProMotion-1.0.2 spec/unit/main_spec.rb
ProMotion-1.0.1 spec/unit/main_spec.rb
ProMotion-1.0.0 spec/unit/main_spec.rb
ProMotion-0.7.8 spec/unit/main_spec.rb
ProMotion-0.7.6 spec/unit/main_spec.rb
ProMotion-0.7.5 spec/unit/main_spec.rb
ProMotion-0.7.4 spec/unit/main_spec.rb
ProMotion-0.7.3 spec/unit/main_spec.rb
ProMotion-0.7.2 spec/unit/main_spec.rb
ProMotion-0.7.1 spec/unit/main_spec.rb
ProMotion-0.7.0 spec/unit/main_spec.rb
ProMotion-0.6.5 spec/main_spec.rb