Sha256: 0b6bffb9bbf5ab1fb0b2363cd54970180fc17ee81a7506332464caf087307c7d

Contents?: true

Size: 702 Bytes

Versions: 7

Compression:

Stored size: 702 Bytes

Contents

require 'spec_helper'

describe Cuesmash::AppiumText do

  describe "when creating a new instance" do
    before(:all) do
      @appiumtext = Cuesmash::AppiumText.new(platform_name: "iOS", device_name: "iPhone Simulator", platform_version: "7.1", app: "MyApp")
    end

    it "should have a platform name" do
      expect(@appiumtext.platform_name).to match("iOS")
    end

    it "should have a device name" do
      expect(@appiumtext.device_name).to match("iPhone Simulator")
    end

    it "should have a platform_version" do
      expect(@appiumtext.platform_version).to match("7.1")
    end

    it "should have an app name" do
      expect(@appiumtext.app).to match("MyApp")
    end
  end
end

Version data entries

7 entries across 7 versions & 1 rubygems

Version Path
cuesmash-0.1.7.1 spec/appium_text_spec.rb
cuesmash-0.1.7 spec/appium_text_spec.rb
cuesmash-0.1.6 spec/appium_text_spec.rb
cuesmash-0.1.5.1 spec/appium_text_spec.rb
cuesmash-0.1.5 spec/appium_text_spec.rb
cuesmash-0.1.4 spec/appium_text_spec.rb
cuesmash-0.1.3 spec/appium_text_spec.rb