spec/unit/tab_spec.rb in ProMotion-2.0.1 vs spec/unit/tab_spec.rb in ProMotion-2.1.0.beta1
- old
+ new
@@ -26,10 +26,10 @@
end
it "should have set the others to their respective titles" do
@tab_bar.tabBar.items[1].title.should == "Basic"
@tab_bar.tabBar.items[2].title.should == "Home"
- @tab_bar.tabBar.items[3].title.should == "TestTableScreen"
+ @tab_bar.tabBar.items[3].title.should == "Test tab title"
end
it "should allow changing the tab bar item with set_tab_bar_item" do
@tab_1.set_tab_bar_item title: "Custom", item: "test.jpeg"
@tab_bar.tabBar.items.first.title.should == "Custom"