diff options
Diffstat (limited to 'spec/features/calendars_spec.rb')
| -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 |
