r-cochran/cuke_sniffer

View on GitHub
examples/complex_project/features/support/hooks.rb

Summary

Maintainability
A
0 mins
Test Coverage
Before('@OH') do
  puts "I am doing an OH account"
  @@state = "OH"
end

After('@OH') do
  puts "I finished doing an OH account"
end

Before('@KY') do
  begin
    @@state = "KY"
  rescue Exception => e
  end
end

Before('@NY') do
  begin
    @@state = "NY"
  rescue Exception => e
  end
end