Permalink
Browse files

Renames example test files

This is to avoid requiring the .rb file when using require inside the ip
.citrus files.
  • Loading branch information...
1 parent 6a2c51a commit 0bf6fbfd73536ee1e7e219496b01bdd62e50ed14 @mjackson committed Jan 18, 2011
View
6 README
@@ -572,13 +572,13 @@ To install the [Vim](http://www.vim.org/) scripts, copy the files in
The project source directory contains several example scripts that demonstrate
how grammars are to be constructed and used. Each Citrus file in the examples
-directory has an accompanying Ruby file with the same name that contains a suite
-of tests for that particular file.
+directory has an accompanying Ruby file that contains a suite of tests for that
+particular file.
The best way to run any of these examples is to pass the name of the Ruby file
directly to the Ruby interpreter on the command line, e.g.:
- $ ruby -Ilib examples/calc.rb
+ $ ruby -Ilib examples/calc_test.rb
This particular invocation uses the `-I` flag to ensure that you are using the
version of Citrus that was bundled with that particular example file (i.e. the
View
@@ -6,7 +6,7 @@ task :default => :test
# TESTS #######################################################################
Rake::TestTask.new(:test) do |t|
- t.test_files = FileList['test/*_test.rb'] + FileList['examples/*.rb']
+ t.test_files = FileList['test/*_test.rb'] + FileList['examples/*_test.rb']
end
# DOCS ########################################################################
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 0bf6fbf

Please sign in to comment.