Sha256: 392667db3556e2cd68953950215f7058ca5f503375ba88cd95a4c48c75629ba6
Contents?: true
Size: 568 Bytes
Versions: 2
Compression:
Stored size: 568 Bytes
Contents
require 'rails_helper' feature 'Recent Changes', js: true do let(:event_title) { 'The Newest Event' } background do create :event, title: event_title, start_time: Time.zone.now end scenario 'A user browses recent changes' do visit '/changes' expect(page).to have_content 'CREATE' expect(page).to have_content event_title end scenario 'A user fetches the recent changes feed' do visit '/changes' click_on 'Changes feed' expect(page.body).to have_content 'CREATE' expect(page.body).to have_content event_title end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
calagator-1.1.0 | spec/features/recent_changes_spec.rb |
calagator-1.0.0 | spec/features/recent_changes_spec.rb |