Sha256: 50fce725fc9a60b56add0d566bd56be09034d58118399e9fe06b393fb34f455f
Contents?: true
Size: 642 Bytes
Versions: 5
Compression:
Stored size: 642 Bytes
Contents
require 'rspec' class ExampleFeature < Spinach::FeatureSteps include RSpec::Matchers feature 'Example feature' Given 'that I am a conscientious developer' do end And 'I write cucumber features' do end Then 'I should see a green bar' do end Given 'that I am a lazy hacker' do end And 'I don\'t bother writing cucumber features' do false.should be_true end Then 'I should be fired' do end Given 'that I can\'t code for peanuts' do end And 'I write step definitions that throw exceptions' do raise RuntimeError, "User error!" end Then 'I shouldn\'t be allowed out in public' do end end
Version data entries
5 entries across 5 versions & 1 rubygems