spec/screens/base_screen_spec.rb in motion-prime-0.4.2 vs spec/screens/base_screen_spec.rb in motion-prime-0.4.3
- old
+ new
@@ -1,12 +1,13 @@
describe "BaseScreen" do
before do
@screen = BaseScreen.new()
@screen.on_load
+ @screen.will_appear
end
- it "should render screen on load" do
+ it "should render screen on appear" do
@screen.was_rendered.should == true
end
it "should set default title" do
@screen.title.should == "Base"
\ No newline at end of file