Sha256: dcab3a8f48f6cb769b715d6064b35618498cb7e438a651649ea1cc14fb546b6f

Contents?: true

Size: 443 Bytes

Versions: 12

Compression:

Stored size: 443 Bytes

Contents

require 'rails_helper'

RSpec.feature 'Document Attributes', type: :feature do
  describe 'end_point', js: true do
    it 'will list the documentation' do
      create_json = {
        published: true,
        name: 'Create Currency',
        end_point: '/currencies'
      }
      DocumentationBuilder.create(create_json)

      visit '/apidoco'
      expect(page).to have_css("input[value=\"#{create_json[:end_point]}\"]")
    end
  end
end

Version data entries

12 entries across 12 versions & 1 rubygems

Version Path
apidoco-1.6.4 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.6.3 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.6.2 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.6.1 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.6.0 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.6 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.5 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.4 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.3 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.2 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.1 spec/features/apidoco/documentation_attributes/end_point_spec.rb
apidoco-1.5.0 spec/features/apidoco/documentation_attributes/end_point_spec.rb