Sha256: 097cb797d2614fda0f0cf86534411b9272068778cf4949af418a45e0847f1faf

Contents?: true

Size: 277 Bytes

Versions: 4

Compression:

Stored size: 277 Bytes

Contents

guard :rspec, cmd: "bundle exec rspec" do
  require "guard/rspec/dsl"
  dsl = Guard::RSpec::Dsl.new(self)

	# watch /lib/ files
	watch(%r{^lib/(.+).rb$}) do |m|
		"spec/#{m[1]}_spec.rb"
	end

	# watch /spec/ files
	watch(%r{^spec/(.+).rb$}) do |m|
		"spec/#{m[1]}.rb"
	end
end

Version data entries

4 entries across 4 versions & 1 rubygems

Version Path
sunlight_api-1.2.1 Guardfile
sunlight_api-1.2.0 Guardfile
sunlight_api-1.1.0 Guardfile
sunlight_api-1.0.1 Guardfile