spec/styling_modal_spec.rb in teacup-1.3.0 vs spec/styling_modal_spec.rb in teacup-1.3.1
- old
+ new
@@ -1,11 +1,9 @@
describe 'Styling a modal view' do
tests PresentModalController
- it 'should open a modal' do
+ it 'should work' do
tap 'Open Modal'
- wait 10 {
- 1.should == 1
- }
+ @controller.modal.view.backgroundColor.should == UIColor.blackColor
end
end