Sha256: dddb02623a04e6a8aeed4782d60f8d87dec4039b02413dcb098cd55223abb531

Contents?: true

Size: 561 Bytes

Versions: 19

Compression:

Stored size: 561 Bytes

Contents

# frozen_string_literal: true

RSpec.describe "Projects TechnologyTypes Integration" do
  it "returns a list of technology types and their parent types" do
    technology_types = Patch::TechnologyType.retrieve_technology_types()
    expect(technology_types.data.count).to be_positive
    expect(technology_types.data.first.slug).to be_a(String)
    expect(technology_types.data.first.name).to be_a(String)

    parent = technology_types.data.first.parent_technology_type
    expect(parent.slug).to be_a(String)
    expect(parent.name).to be_a(String)
  end
end

Version data entries

19 entries across 19 versions & 1 rubygems

Version Path
patch_ruby-2.3.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-2.1.1 spec/integration/projects/technology_types_spec.rb
patch_ruby-2.0.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.24.2 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.24.1 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.24.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.23.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.22.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.21.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.20.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.19.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.18.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.17.1 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.17.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.16.1 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.16.0 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.15.2 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.15.1 spec/integration/projects/technology_types_spec.rb
patch_ruby-1.15.0 spec/integration/projects/technology_types_spec.rb