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-3.0.0 spec/unit/screen_module_spec.rb
ProMotion-2.8.2 spec/unit/screen_module_spec.rb
ProMotion-2.8.1 spec/unit/screen_module_spec.rb
ProMotion-2.8.0 spec/unit/screen_module_spec.rb
ProMotion-2.7.1 spec/unit/screen_module_spec.rb
ProMotion-2.7.0 spec/unit/screen_module_spec.rb
ProMotion-2.6.1 spec/unit/screen_module_spec.rb
ProMotion-2.6.0 spec/unit/screen_module_spec.rb
ProMotion-2.5.0 spec/unit/screen_module_spec.rb
ProMotion-2.5.0.beta1 spec/unit/screen_module_spec.rb
ProMotion-2.4.2 spec/unit/screen_module_spec.rb
ProMotion-2.4.1 spec/unit/screen_module_spec.rb
ProMotion-2.4.0 spec/unit/screen_module_spec.rb
ProMotion-2.3.1 spec/unit/screen_module_spec.rb
ProMotion-2.3.0 spec/unit/screen_module_spec.rb
ProMotion-2.2.2 spec/unit/screen_module_spec.rb
ProMotion-2.2.1 spec/unit/screen_module_spec.rb
ProMotion-2.2.0 spec/unit/screen_module_spec.rb
ProMotion-2.1.0 spec/unit/screen_module_spec.rb
ProMotion-2.1.0.beta1 spec/unit/screen_module_spec.rb