Sha256: 6a9656656e7cca68a49a9da866e5249142e568d5343487517c0c4081cd90caf3
Contents?: true
Size: 507 Bytes
Versions: 13
Compression:
Stored size: 507 Bytes
Contents
guard :rspec, cmd: "bundle exec rspec" do require "guard/rspec/dsl" dsl = Guard::RSpec::Dsl.new(self) # RSpec files rspec = dsl.rspec watch(rspec.spec_helper) { rspec.spec_dir } watch(rspec.spec_support) { rspec.spec_dir } watch(rspec.spec_files) # Ruby files ruby = dsl.ruby dsl.watch_spec_files_for(ruby.lib_files) # Standard RubyGem Project watch(/^spec\/.+_spec\.rb/) watch(/^lib\/(.+)\.rb/) { |m| "spec/#{m[1]}_spec.rb" } watch("spec/spec_helper.rb") { "spec" } end
Version data entries
13 entries across 13 versions & 2 rubygems