Commit Graph

5 Commits

Author SHA1 Message Date
Rémy Coutable
a0f1ac4053 Renamed Guard::Dsl.guardfile_included? to Guard::Dsl.guardfile_include? (private API) and fix a bug where Guard::Dsl.guardfile_include? was not detecting guard specified with a symbol, double quotes or parenthesis in Guardfile.
e.g.:
guard :rspec
guard ('rspec')
guard("rspec")
...
2010-12-17 18:37:44 +01:00
Rémy Coutable
f90823ae90 Shortened implementation of the new group DSL method and made it (+ specs) clearer 2010-12-17 18:13:31 +01:00
Michael Kessler
63af219490 Enhance the DSL to allow grouping of guard definitions and run them selectively 2010-12-17 16:31:39 +01:00
Rémy Coutable
39ea8441c0 Avoid using actual fixture files, instead mock Guardfile content (this way we can directly see tested Guardfile content in the specs. 2010-10-30 22:42:17 +02:00
Olivier Amblet
dd1100b4ae Added DSL specs and improved error message.
DSL now have basics specs that confirm it works
I splitted file not found and invalid Guardfile
error message because it was confusing to know
in which case you are when it occurs :)
2010-10-30 18:26:09 +02:00