devxoul / Then

✨ Super sweet syntactic sugar for Swift initializers
MIT License
4.18k stars 290 forks source link

The color should also be tested #6

Closed RuiAAPeres closed 8 years ago

devxoul commented 8 years ago

@RuiAAPeres, thank you for your work. However, I cannot understand why we need to test textColor. Could you please explain more detail?

RuiAAPeres commented 8 years ago

@devxoul you are doing the following inside the then:

 $0.text = "I am a label."
 $0.textColor = .blackColor()

I think it makes sense to test for the Color as well, since you are setting it.

devxoul commented 8 years ago

Good :smile: