Sha256: 9a3a23bcf2b96a126db320ec24c1c7e5ea9738f615909085c96a094f5460eb0b
Contents?: true
Size: 888 Bytes
Versions: 6
Compression:
Stored size: 888 Bytes
Contents
# Note: The cmd option is now required due to the increasing number of ways # rspec may be run, below are examples of the most common uses. # * bundler: 'bundle exec rspec' # * bundler binstubs: 'bin/rspec' # * spring: 'bin/rspec' (This will use spring if running and you have # installed the spring binstubs per the docs) # * zeus: 'zeus rspec' (requires the server to be started separately) # * 'just' rspec: 'rspec' guard :rspec, cmd: "bundle exec rspec", all_after_pass: true, all_on_start: true do require "guard/rspec/dsl" dsl = Guard::RSpec::Dsl.new(self) # Feel free to open issues for suggestions and improvements # RSpec files rspec = dsl.rspec watch(rspec.spec_helper) { rspec.spec_dir } watch(rspec.spec_support) { rspec.spec_dir } watch(rspec.spec_files) watch(%r{^lib/(.+)\.rb$}) { |m| "spec/#{m[1]}_spec.rb" } end
Version data entries
6 entries across 6 versions & 1 rubygems
Version | Path |
---|---|
traitorous-0.6.2 | Guardfile |
traitorous-0.6.1 | Guardfile |
traitorous-0.3.0 | Guardfile |
traitorous-0.2.2 | Guardfile |
traitorous-0.2.0 | Guardfile |
traitorous-0.1.0 | Guardfile |