diff options
| author | Robert | 2017-06-20 17:03:56 +0200 |
|---|---|---|
| committer | Robert | 2017-06-20 17:03:56 +0200 |
| commit | f42ea52d0f7f6fd6cab7f9179f93e189dd90bdca (patch) | |
| tree | b90c3dad73117122ae322ea54c235d1ffc2cb465 /spec/features | |
| parent | aceeb812800c9429631f9c21d3f1b063ee634fef (diff) | |
| download | chouette-core-f42ea52d0f7f6fd6cab7f9179f93e189dd90bdca.tar.bz2 | |
Refs: #3595@3h; calendars/new Date validation
Diffstat (limited to 'spec/features')
| -rw-r--r-- | spec/features/calendars_spec.rb | 18 |
1 files changed, 14 insertions, 4 deletions
diff --git a/spec/features/calendars_spec.rb b/spec/features/calendars_spec.rb index e15624295..8c38e7820 100644 --- a/spec/features/calendars_spec.rb +++ b/spec/features/calendars_spec.rb @@ -1,7 +1,4 @@ -# -*- coding: utf-8 -*- -require 'spec_helper' - -describe 'Calendars', type: :feature do +RSpec.describe 'Calendars', type: :feature do login_user let!(:calendars) { Array.new(2) { create :calendar, organisation_id: 1 } } @@ -69,4 +66,17 @@ describe 'Calendars', type: :feature do expect(page).to have_content(calendars.first.name) end end + + describe 'create', :wip do + before do + visit new_calendar_path + + end + it 'with correct date' do + require 'pry' + binding.pry + + end + + end end |
