guard-rails-assets/spec/support/shared_examples.rb

10 lines
295 B
Ruby
Raw Normal View History

2011-06-17 10:32:50 +00:00
shared_examples_for "guard command" do |options|
it "should execute #{options[:command]} when said so"
it "should not execute #{options[:command]} when disabled"
it "should #{options[:run] ? '' : 'not '}execute #{options[:command]} by default"
it "should execute built-in helper"
end