Sha256: 1501bab9434c2666efc6130729860720099aefd282f5c2eaaeb1ed1da3191dbb

Contents?: true

Size: 600 Bytes

Versions: 142

Compression:

Stored size: 600 Bytes

Contents

require "spec_helper"

describe Onebox::Engine::GooglePlayAppOnebox do
  before(:all) do
    @link = "https://play.google.com/store/apps/details?id=com.hulu.plus&hl=en"
  end

  include_context "engines"
  it_behaves_like "an engine"

  describe "#to_html" do
    it "has developer" do
      expect(html).to include("Hulu")
    end

    it "has image" do
      expect(html).to include("JH08z41G8hlCw=w300-rw")
    end

    it "has description" do
      expect(html).to include("Instantly watch current TV shows")
    end

    it "has price" do
      expect(html).to include("Free")
    end
  end
end

Version data entries

142 entries across 142 versions & 1 rubygems

Version Path
onebox-1.5.34 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.33 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.32 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.31 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.30 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.29 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.28 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.27 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.26 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.25 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.24 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.23 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.22 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.21 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.20 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.19 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.18 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.17 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.16 spec/lib/onebox/engine/google_play_app_onebox_spec.rb
onebox-1.5.14 spec/lib/onebox/engine/google_play_app_onebox_spec.rb