diff options
| author | mo k <mo@mokhan.ca> | 2012-02-11 14:47:09 -0700 |
|---|---|---|
| committer | mo k <mo@mokhan.ca> | 2012-02-11 14:47:09 -0700 |
| commit | 98d129ab8fa49b84b9e1d58361368bbdc8d20aac (patch) | |
| tree | 40fda51fef7308e824084eb9223292e6cdae46e6 | |
| parent | 93957df3be4e4206389a41040299453842d2b5f4 (diff) | |
move specs from test/ to spec/
| -rw-r--r-- | Gemfile.lock | 8 | ||||
| -rw-r--r-- | Guardfile | 13 | ||||
| -rw-r--r-- | gemfile | 6 | ||||
| -rw-r--r-- | rakefile | 2 | ||||
| -rw-r--r-- | spec/book_specs.rb (renamed from test/book_specs.rb) | 0 | ||||
| -rw-r--r-- | spec/library_specs.rb (renamed from test/library_specs.rb) | 0 | ||||
| -rw-r--r-- | spec/rover_specs.rb (renamed from test/rover_specs.rb) | 0 | ||||
| -rw-r--r-- | spec/spec_helper.rb (renamed from test/spec_helper.rb) | 0 | ||||
| -rw-r--r-- | spec/specifications/find_all_books_by_author_specs.rb (renamed from test/specifications/find_all_books_by_author_specs.rb) | 0 | ||||
| -rw-r--r-- | spec/stack_specs.rb (renamed from test/stack_specs.rb) | 0 | ||||
| -rw-r--r-- | spec/ts_all.rb (renamed from test/ts_all.rb) | 0 |
11 files changed, 19 insertions, 10 deletions
diff --git a/Gemfile.lock b/Gemfile.lock index 888ef1f..f53a82a 100644 --- a/Gemfile.lock +++ b/Gemfile.lock @@ -2,17 +2,9 @@ GEM remote: https://rubygems.org/ specs: developwithpassion_fakes (0.0.1) - ffi (1.0.11) - guard (0.10.0) - ffi (>= 0.5.0) - thor (~> 0.14.6) - guard-minitest (0.4.0) - guard (~> 0.4) - thor (0.14.6) PLATFORMS ruby DEPENDENCIES developwithpassion_fakes - guard-minitest diff --git a/Guardfile b/Guardfile new file mode 100644 index 0000000..fb18f18 --- /dev/null +++ b/Guardfile @@ -0,0 +1,13 @@ +# A sample Guardfile +# More info at https://github.com/guard/guard#readme + +#guard 'minitest' do + #watch(%r|^test/test_(.*)\.rb|) + #watch(%r|^lib/(.*)([^/]+)\.rb|) { |m| "test/#{m[1]}test_#{m[2]}.rb" } + #watch(%r|^test/test_helper\.rb|) { "test" } +#end +guard 'minitest' do + watch(%r|^spec/(.*)_spec\.rb|) + watch(%r|^lib/(.*)\.rb|) { |m| "spec/#{m[1]}_spec.rb" } + watch(%r|^spec/spec_helper\.rb|) { "spec" } +end @@ -1,4 +1,8 @@ source 'https://rubygems.org' -gem 'guard-minitest' +#gem 'guard' +#gem 'guard-minitest' +#gem 'rb-fsevent', :require => false if RUBY_PLATFORM =~ /darwin/i +#gem 'growl', :require => false if RUBY_PLATFORM =~ /darwin/i +#gem 'growl_notify', :require => false if RUBY_PLATFORM =~ /darwin/i gem 'developwithpassion_fakes' @@ -1,5 +1,5 @@ task :test do - sh "ruby -I lib:test test/ts_all.rb" + sh "ruby -I lib:spec spec/ts_all.rb" end task :default => :test do diff --git a/test/book_specs.rb b/spec/book_specs.rb index c1ad6a6..c1ad6a6 100644 --- a/test/book_specs.rb +++ b/spec/book_specs.rb diff --git a/test/library_specs.rb b/spec/library_specs.rb index c231101..c231101 100644 --- a/test/library_specs.rb +++ b/spec/library_specs.rb diff --git a/test/rover_specs.rb b/spec/rover_specs.rb index 0d25d6e..0d25d6e 100644 --- a/test/rover_specs.rb +++ b/spec/rover_specs.rb diff --git a/test/spec_helper.rb b/spec/spec_helper.rb index 638274e..638274e 100644 --- a/test/spec_helper.rb +++ b/spec/spec_helper.rb diff --git a/test/specifications/find_all_books_by_author_specs.rb b/spec/specifications/find_all_books_by_author_specs.rb index 0252104..0252104 100644 --- a/test/specifications/find_all_books_by_author_specs.rb +++ b/spec/specifications/find_all_books_by_author_specs.rb diff --git a/test/stack_specs.rb b/spec/stack_specs.rb index 48e4b52..48e4b52 100644 --- a/test/stack_specs.rb +++ b/spec/stack_specs.rb diff --git a/test/ts_all.rb b/spec/ts_all.rb index 9bf43ab..9bf43ab 100644 --- a/test/ts_all.rb +++ b/spec/ts_all.rb |
