josh/useragent — pull request #26 by kevinzen (2012-04-17 13:51:36+00:00)
Title: Refactor of spec in prep for adding more user agents

Josh,

I was going to add a bunch more user_agents to the spec as you had indicated, but I wanted to refactor the spec first to make it easier to add to. It looked as if it might be able to use DRYing up if I were going to expand it a lot.

If this makes sense to you, then I'll go ahead and add more. I'll do the same to the other browser specs and expand them as well.

I was thinking it might even make sense to have only a single browser spec that loaded all its data from a yaml file like shown in this gist:

https://gist.github.com/2400425

Let me know what you think and I'll move forward. (By the way, this commit removes the spec I added in my previous commit.)