Sha256: 41f66ffddd620d7f523f3e9dcf3efed865f13acebdcf275bd91f9b35ac773901

Contents?: true

Size: 460 Bytes

Versions: 5

Compression:

Stored size: 460 Bytes

Contents

require 'spec_helper'

feature 'create content builder category', type: :feature do
  before(:each) do
    @model_name = 'rails_admin_content_builder~content_builder_category'
  end

  scenario 'first step', js: false do
    visit rails_admin.new_path(model_name: @model_name)

    fill_in('Name', with: Faker::Lorem.characters)

    click_button('Save')

    expect(page).to have_content(
      'Content builder category successfully created'
    )
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
rails_admin_content_builder-1.3.0 spec/features/create_content_builder_category_spec.rb
rails_admin_content_builder-1.2.0 spec/features/create_content_builder_category_spec.rb
rails_admin_content_builder-1.1.0 spec/features/create_content_builder_category_spec.rb
rails_admin_content_builder-1.0.6 spec/features/create_content_builder_category_spec.rb
rails_admin_content_builder-1.0.5 spec/features/create_content_builder_category_spec.rb