lib/calasmash/cucumber.rb in calasmash-1.0.4 vs lib/calasmash/cucumber.rb in calasmash-1.0.5

- old
+ new

@@ -79,11 +79,11 @@ # return it # # @return [String] The cucumber command string def command command = "cucumber" - command += simulator_arguments if @ios + command += " OS=ios#{@ios.to_i} SDK_VERSION=#{@ios}" if @ios command += " --format #{self.format}" if self.format command += " --out #{self.output}" if self.output command += @tags.to_a.empty? ? "" : tag_arguments command += " -c" @@ -99,22 +99,9 @@ command = "" @tags.each do |tag_set| command = "" unless command command += " --tags #{tag_set}" end - command - end - - # - # Generate the simulator version arguments that - # are best for certain versions of simulators - # - # @return [String] The simulator arguments - def simulator_arguments - if @ios - command = " DEVICE_TARGET='iPhone Retina (4-inch) - Simulator - iOS #{@ios}'" - end - command end end end