From 0dc83df98cb922a66ea49281a722209723f9a45e Mon Sep 17 00:00:00 2001 From: Andreas Stephanides Date: Fri, 11 Sep 2015 15:03:05 +0200 Subject: [PATCH] AutoCommit Fre Sep 11 15:03:05 CEST 2015 --- spec/features/beispielsammlung_spec.rb | 13 +++++++++++++ 1 file changed, 13 insertions(+) create mode 100644 spec/features/beispielsammlung_spec.rb 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 +