Sha256: f16110533c80f2999569ba756989f958940c36d4fa00881719f03bd2e3e00e90

Contents?: true

Size: 483 Bytes

Versions: 24

Compression:

Stored size: 483 Bytes

Contents

# encoding: utf-8

require 'spec_helper'

describe 'Cms/Pages' do

  context '#new' do
    before do
      visit kuhsaft.new_cms_page_path
      fill_in 'Titel', :with => 'The Title of the page'
      fill_in 'Stichwörter', :with => 'My keywords'
      fill_in 'Beschreibung', :with => 'My Description'
    end

    describe '#create' do
      it 'creates a new page' do
        expect { click_on 'Create Seite' }.to change(Kuhsaft::Page, :count).by(1)
      end
    end

  end
end

Version data entries

24 entries across 24 versions & 1 rubygems

Version Path
kuhsaft-1.5.0 spec/features/cms_pages_spec.rb
kuhsaft-1.4.3 spec/features/cms_pages_spec.rb
kuhsaft-1.4.2 spec/features/cms_pages_spec.rb
kuhsaft-1.4.1 spec/features/cms_pages_spec.rb
kuhsaft-1.4.0 spec/features/cms_pages_spec.rb
kuhsaft-1.3.1 spec/features/cms_pages_spec.rb
kuhsaft-1.2.15 spec/features/cms_pages_spec.rb
kuhsaft-1.2.14 spec/features/cms_pages_spec.rb
kuhsaft-1.2.13 spec/features/cms_pages_spec.rb
kuhsaft-1.2.12 spec/features/cms_pages_spec.rb
kuhsaft-1.2.11 spec/features/cms_pages_spec.rb
kuhsaft-1.2.10 spec/features/cms_pages_spec.rb
kuhsaft-1.2.9 spec/features/cms_pages_spec.rb
kuhsaft-1.2.8 spec/features/cms_pages_spec.rb
kuhsaft-1.2.7 spec/features/cms_pages_spec.rb
kuhsaft-1.2.6 spec/features/cms_pages_spec.rb
kuhsaft-1.2.5 spec/features/cms_pages_spec.rb
kuhsaft-1.2.4 spec/features/cms_pages_spec.rb
kuhsaft-1.2.3 spec/features/cms_pages_spec.rb
kuhsaft-1.2.2 spec/features/cms_pages_spec.rb