Sha256: 3e29f11a52ce5b59f07f04f267b214624a0bd1191ac6cb5722e73c594a012be9

Contents?: true

Size: 465 Bytes

Versions: 5

Compression:

Stored size: 465 Bytes

Contents

require 'spec_helper'

RSpec.feature "Optional  date field with multiple default nil values", type: :feature do
  scenario "Immediately setting the date when none of the collection is set", js: true do
    project_1 = Project.create name: "P1", start_date: nil
    project_2 = Project.create name: "P2", start_date: nil
    visit collection_edit_projects_path(ids: "#{project_1.id}~#{project_2.id}")
    page.should have_selector '.collection_start_date'
  end
end

Version data entries

5 entries across 5 versions & 1 rubygems

Version Path
record_collection-0.10.4 spec/features/optional_date_field_all_nil_spec.rb
record_collection-0.10.3 spec/features/optional_date_field_all_nil_spec.rb
record_collection-0.10.2 spec/features/optional_date_field_all_nil_spec.rb
record_collection-0.10.1 spec/features/optional_date_field_all_nil_spec.rb
record_collection-0.10.0 spec/features/optional_date_field_all_nil_spec.rb