Sha256: 8164c0bf4ee8c170997791747aef4f725e000741dd4f47e7bc0912887661c0d3

Contents?: true

Size: 326 Bytes

Versions: 51

Compression:

Stored size: 326 Bytes

Contents

describe "PM::ScreenModule" do

  before { @subject = ScreenModuleViewController.new }

  it 'should have PM::ScreenModule in ancestors' do
    @subject.class.ancestors.include?(PM::ScreenModule).should == true
  end

  it 'should have a title from class method #title' do
    @subject.title.should == 'Test Title'
  end

end

Version data entries

51 entries across 51 versions & 1 rubygems

Version Path
ProMotion-2.0.1 spec/unit/screen_module_spec.rb
ProMotion-2.0.0 spec/unit/screen_module_spec.rb
ProMotion-2.0.0.rc5 spec/unit/screen_module_spec.rb
ProMotion-2.0.0.rc4 spec/unit/screen_module_spec.rb
ProMotion-2.0.0.rc3 spec/unit/screen_module_spec.rb
ProMotion-2.0.0.rc2 spec/unit/screen_module_spec.rb
ProMotion-2.0.0.rc1 spec/unit/screen_module_spec.rb
ProMotion-1.2.1 spec/unit/screen_module_spec.rb
ProMotion-1.2.0 spec/unit/screen_module_spec.rb
ProMotion-1.1.2 spec/unit/screen_module_spec.rb
ProMotion-1.1.1 spec/unit/screen_module_spec.rb
ProMotion-1.1.0 spec/unit/screen_module_spec.rb
ProMotion-1.1.0.rc1 spec/unit/screen_module_spec.rb
ProMotion-1.0.4 spec/unit/screen_module_spec.rb
ProMotion-1.0.3 spec/unit/screen_module_spec.rb
ProMotion-1.0.2 spec/unit/screen_module_spec.rb
ProMotion-1.0.1 spec/unit/screen_module_spec.rb
ProMotion-1.0.0 spec/unit/screen_module_spec.rb
ProMotion-0.7.8 spec/unit/screen_module_spec.rb
ProMotion-0.7.6 spec/unit/screen_module_spec.rb