Sha256: 539e1b034e8f6d6ce3b5d79df7f96aa5dc571c90263e76972c2419b3722e16ea

Contents?: true

Size: 686 Bytes

Versions: 3

Compression:

Stored size: 686 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
      @appiumtext.platform_name.should match("iOS")
    end

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

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

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

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
cuesmash-0.1.2 spec/appium_text_spec.rb
cuesmash-0.1.1 spec/appium_text_spec.rb
cuesmash-0.1.0 spec/appium_text_spec.rb