Sha256: 18deb75681d622c453424b139c4175e8090d84a9c76627f7d6a461ebcd7fd761
Contents?: true
Size: 447 Bytes
Versions: 1
Compression:
Stored size: 447 Bytes
Contents
require 'spec_helper' feature 'Pages > Create' do test_helpers scenario 'allows to create a new page' do capybara_sign_in user_1 visit '/flms/pages/new' fill_in 'Title', with: 'my new title' fill_in 'Url', with: 'my new url' click_button 'Create Page' expect(Flms::Page).to have(1).instances page = Flms::Page.first expect(page.title).to eql 'my new title' expect(page.url).to eql 'my new url' end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
flms-0.0.1 | spec/features/pages/create_spec.rb |