diff --git a/spec/features/beispielsammlung_spec.rb b/spec/features/beispielsammlung_spec.rb new file mode 100644 index 0000000..fd9fd81 --- /dev/null +++ b/spec/features/beispielsammlung_spec.rb @@ -0,0 +1,13 @@ +require 'spec_helper' +feature 'Beispielsammlung' do + scenario 'anonym user visits beispielsammlung' do + visit root_path + click_link 'Beispielsammlung' + expect(page).to have_text(studium.title) + expect(page).to have_tag("link to lva") + click_link 'LVA1' + expect(page).to have_text(beispiel.name) + end + +end +