mirror of
https://github.com/zhigang1992/ProMotion.git
synced 2026-05-20 04:11:25 +08:00
14 lines
326 B
Ruby
14 lines
326 B
Ruby
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
|