Skip to content

Commit

Permalink
Move test code from .test/ back to test/.
Browse files Browse the repository at this point in the history
  • Loading branch information
fnichol committed Apr 25, 2012
1 parent fcc5733 commit e02372c
Show file tree
Hide file tree
Showing 4 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
language: ruby
gemfile:
- .test/support/Gemfile
- test/support/Gemfile
rvm:
- 1.9.3
script: BUNDLE_GEMFILE=.test/support/Gemfile bundle exec rake -f .test/support/Rakefile test foodcritic
script: BUNDLE_GEMFILE=test/support/Gemfile bundle exec rake test foodcritic
4 changes: 2 additions & 2 deletions .test/support/Rakefile → Rakefile
Original file line number Diff line number Diff line change
Expand Up @@ -3,15 +3,15 @@ require 'rake/testtask'

Rake::TestTask.new do |t|
t.libs.push "lib"
t.test_files = FileList['.test/**/*_spec.rb']
t.test_files = FileList['test/**/*_spec.rb']
t.verbose = true
end

desc "Runs foodcritc linter"
task :foodcritic do
if Gem::Version.new("1.9.2") <= Gem::Version.new(RUBY_VERSION.dup)
sandbox = File.expand_path(
File.join(File.dirname(__FILE__), %w{.. .. tmp foodcritic cookbook}))
File.join(File.dirname(__FILE__), %w{tmp foodcritic cookbook}))
prepare_foodcritic_sandbox(sandbox)

sh "foodcritic --epic-fail any #{File.dirname(sandbox)}"
Expand Down
File renamed without changes.
File renamed without changes.

0 comments on commit e02372c

Please sign in to comment.