Function rspec::given
[−]
[src]
pub fn given<F, T>(name: &'static str, environment: T, body: F) -> Suite<T> where
F: FnOnce(&mut Context<T>),
T: Clone + Debug,