infinitered / bluepotion

Like RedPotion, but for Android
MIT License
74 stars 18 forks source link

build ARM binary to run spec on device with "rake spec:device" #82

Closed Watson1978 closed 9 years ago

Watson1978 commented 9 years ago

To run bluepotion specs with "rake spec:device", it need to build ARM binary instead of "x86"

Watson1978 commented 9 years ago

@GantMan

If ARGV has a String object (like following), it will worked as you say.

irb(main):001:0> "spec:device".include?("device")
=> true

However, ARGV has always an Array object like following.

irb(main):002:0> ["spec:device"].include?("device")
=> false

So, when try to run spec on real device, I think we need my patch.

GantMan commented 9 years ago

Great catch!