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-0.7.5 spec/unit/screen_module_spec.rb
ProMotion-0.7.4 spec/unit/screen_module_spec.rb
ProMotion-0.7.3 spec/unit/screen_module_spec.rb
ProMotion-0.7.2 spec/unit/screen_module_spec.rb
ProMotion-0.7.1 spec/unit/screen_module_spec.rb
ProMotion-0.7.0 spec/unit/screen_module_spec.rb
ProMotion-0.6.5 spec/screen_module_spec.rb
ProMotion-0.6.4 spec/screen_module_spec.rb
ProMotion-0.6.3 spec/screen_module_spec.rb
ProMotion-0.6.2 spec/screen_module_spec.rb
ProMotion-0.6.1 spec/screen_module_spec.rb