This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import Cocoa | |
/// A wrapper around any type to make Result compile | |
class Box<T> { | |
let unbox: T | |
init(_ value: T) { | |
self.unbox = value | |
} | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
feature 'Contact form POST without Ajax', :js => false do | |
context 'without name' do | |
it 'shows the index' do | |
visit_landing_page | |
within('#request-form') do | |
fill_in 'request-email', :with => 'test@test.de' | |
fill_in 'request-anliegen', :with => 'Test' | |
fill_in 'request-seiten', :with => '123' | |
end | |
click_button 'Anfragen' |
NewerOlder