AutoCommit Fre Sep 11 15:03:05 CEST 2015
This commit is contained in:
13
spec/features/beispielsammlung_spec.rb
Normal file
13
spec/features/beispielsammlung_spec.rb
Normal file
@@ -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
|
||||||
|
|
||||||
Reference in New Issue
Block a user